ege-st opened a new pull request, #12613:
URL: https://github.com/apache/pinot/pull/12613

   (Bugfix)
   
   In Calcite, this removes the check that prevents aggregation functions from 
being used within a Case/When expression in the V1 engine.
   
   Testing:
   1. Added a unit test for V2 engine
   2. Validated locally with Pinot running the query: `select AirlineID, (CASE 
WHEN sum(ActualElapsedTime) > 0 THEN sum(ActualElapsedTime) ELSE 0 END) AS cpm 
from airlineStats group by AirlineID` and comparing the results between V1 and 
V2 engine.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to