dd-annarose commented on PR #25337:
URL: https://github.com/apache/datafusion/pull/25337#issuecomment-5694534175

   @alamb We could, but we wouldn't support queries like this one (supported by 
Trino for example):
   
   ```
   SELECT approx_percentile(x, m)
   FROM (VALUES (10,0.1),(20,0.5),(30,0.9),(40,0.5)) AS t(x,m)
   ```
   
   I don't have a Trino parity agenda, but this can be used more broadly when 
wanting to use a "real" column reference as percentile.
   
   Happy to discuss!


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to