Jefffrey opened a new issue, #18281:
URL: https://github.com/apache/datafusion/issues/18281

   ### Is your feature request related to a problem or challenge?
   
   These should not be allowed by SQL planner:
   
   ```sql
   select quantile_cont(col0, 0.75 order by col0) from values (1, 3), (2, 2), 
(3, 1) t(col0, col1);
   select quantile_cont(0.75 order by col0) from values (1, 3), (2, 2), (3, 1) 
t(col0, col1);
   ```
   
   - Bottom one fails, but only because it can't find matching function; 
ideally we should fail earlier as syntax error
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   See https://github.com/apache/datafusion/pull/17805#issuecomment-3418476797


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