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

[GitHub] [arrow-datafusion] jhorstmann commented on issue #5595: Make median return `null` on empty input rather than error

jhorstmann commented on issue #5595:
URL: https://github.com/apache/arrow-datafusion/issues/5595#issuecomment-1470266735

   The corresponding postgres syntax would be
   
   ```
   SELECT PERCENTILE_DISC(0.5) WITHIN GROUP (ORDER BY column1) FROM ...
   ```
   
   Which returns NULL on empty inputs.


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