asolimando opened a new pull request, #4681:
URL: https://github.com/apache/calcite/pull/4681

   Added SqlAggFunction.skipsNullInputs() method to indicate whether an 
aggregate function skips NULL input values. AggregateCaseToFilterRule now 
checks this method before applying the CASE-to-FILTER transformation, 
preventing incorrect optimization for aggregates where NULL inputs are 
semantically significant
   
   This is not a breaking change: the method defaults to true (standard SQL 
behavior where aggregates skip NULLs), preserving existing behavior for all 
built-in aggregates. Custom UDAFs that do not skip NULLs inputs should override 
this method to return false
   
   More details in CALCITE-7330


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

Reply via email to