You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Dandandan (via GitHub)" <gi...@apache.org> on 2024/03/12 15:11:19 UTC

[I] ApproxPercentileAccumulator returns execution error when no values [arrow-datafusion]

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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ApproxPercentileAccumulator returns execution error when no values [arrow-datafusion]

Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan closed issue #9581: ApproxPercentileAccumulator returns execution error when no values
URL: https://github.com/apache/arrow-datafusion/issues/9581


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org