Dandandan opened a new issue, #9581:
URL: https://github.com/apache/arrow-datafusion/issues/9581

   ### Describe the bug
   
   This returns a execution error.
   We should likely return a null value instead like other aggregation 
functions.
   
   ### To Reproduce
   
   ```
   create table t(a int);
   select APPROX_PERCENTILE_CONT(a, 0.5) from t;
   ```
   
   This returns
   
   ```Execution error: aggregate function needs at least one non-null element```
   
   ### Expected behavior
   
   Return null value.
   
   ### Additional context
   
   _No response_


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