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

   - In CountAggregateFunction, NPE was thrown when COUNT() is passed a literal 
and nullHandling is enabled. expression.getIdentifier() returns null when 
expression is not an identifier.  
   - Sample failing query: 
   ``` 
   SELECT COUNT("int0") AS "value"
   FROM "test"
   HAVING (COUNT(1) > 0) option(enableNullHandling=true)
   ```
   Same query can execute when option is not passed.
   - Allow nullHandling when COUNT is passed an identifier or a function. 
Disable when literal or * as these give same result of returning # of rows.


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