You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/05/24 18:58:36 UTC

[GitHub] [incubator-pinot] sajjad-moradi opened a new issue #6962: Servers return wrong column types in case of empty results (everything defaults to STRING)

sajjad-moradi opened a new issue #6962:
URL: https://github.com/apache/incubator-pinot/issues/6962


   **Non-empty results (correct types):**
   ![image](https://user-images.githubusercontent.com/8548220/119394222-cadc3200-bc86-11eb-9281-4dc84ae525cc.png)
   
   **Empty results (incorrect types):**
   ![image](https://user-images.githubusercontent.com/8548220/119394045-98cad000-bc86-11eb-9259-081ad71f23d8.png)
   
   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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [incubator-pinot] Jackie-Jiang commented on issue #6962: Servers return wrong column types in case of empty results (everything defaults to STRING)

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang commented on issue #6962:
URL: https://github.com/apache/incubator-pinot/issues/6962#issuecomment-847324558


   This happens when all the segments are pruned out, and Pinot server short-circuits the query to directly return without checking the schema. We should just not return the schema when there is no record returned. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org