You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "somandal (via GitHub)" <gi...@apache.org> on 2023/04/17 23:59:29 UTC

[GitHub] [pinot] somandal commented on issue #10628: [multistage] Query with Anti Semi-Join Fails

somandal commented on issue #10628:
URL: https://github.com/apache/pinot/issues/10628#issuecomment-1512252037

   Yes, I came across this issue earlier (this function was the same before I moved it out from the `AggregateOperator` to `AggregationUtils`) when I tried to fix the initialize function for all aggregations to cast to double (like the `merge` functions do today). Didn't try to find the right fix for this since this was an existing issue at the time.
   
   I think the problem here is that the aggregation functions typecast to double, and that doesn't work with boolean, so we should handle booleans separately for this case. for MIN, we should set it to 'false' if any value is 'false' otherwise 'true'. Similarly for max. 
   
   Can you share the logical plan for this query?


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

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