siddharthteotia opened a new pull request #5075: Fix bug in DISTINCT for 
queries that return empty response 
URL: https://github.com/apache/incubator-pinot/pull/5075
 
 
   The DistinctTable which is the IntermediateResult type of 
DistinctAggregationFunction was null in such cases. Since we use the same 
object to serialize the result of the function as a single object (to keep 
consistency with how other aggregation function results are sent to the 
broker), the broker reduce service was throwing exception upon seeing the 
DistinctTable as null.
   
   The fix is to send an empty table.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to