You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "dd-annarose (via GitHub)" <gi...@apache.org> on 2026/09/11 11:49:49 UTC

Re: [I] Support column reference as percentile arg for `percentile_cont` and `approx_percentile_cont` [datafusion]

dd-annarose commented on issue #24337:
URL: https://github.com/apache/datafusion/issues/24337#issuecomment-5633979787

   @Jefffrey We're hitting an issue when the percentile comes from a projection. The behavior would be the same as for (Trino)[https://trino.io/docs/current/functions/aggregate.html#approx_percentile]: the percentile argument must be constant for all inputs. So yes, essentially it would be a ScalarValue (not always folded into a ScalarValue).
   
   does that seem reasonable to you?


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org