andiem-bq opened a new pull request, #10266:
URL: https://github.com/apache/pinot/pull/10266

   - Added name `case` for the `caseWhen` Scalar Function implementations under 
`ObjectFunctions.java.`
   - Previously, a query like `SELECT CASEWHEN(2 > 0, 'yes', 'no)` could be 
executed only in broker (returning single row with a literal) while similar 
query `SELECT CASE WHEN 2 > 0 THEN 'YES' ELSE 'NO' END` resulted in server 
query (returning multiple rows of same literal) because CASE was not in 
function map.
   - Update unit test to also check `case` and `not` are present in function 
registry since they are.
   


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