**Non-empty results (correct types):**  **Empty results (incorrect types):**  This part of the code needs to be changed: https://github.com/apache/incubator-pinot/blob/master/pinot-core/src/main/java/org/apache/pinot/core/common/datatable/DataTableUtils.java#L121
Non-empty results (correct types):

Empty results (incorrect types):

This part of the code needs to be changed:
https://github.com/apache/incubator-pinot/blob/master/pinot-core/src/main/java/org/apache/pinot/core/common/datatable/DataTableUtils.java#L121