lovasoa opened a new pull request, #2477:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2477

   Repro:
   ```sql
   SELECT LISTAGG(value) WITHIN GROUP (ORDER BY order_key) FILTER (WHERE 
filter_key)
   ```
   
   The visitor currently sees `filter_key` before `order_key`, despite the 
source and formatter ordering.
   
   Declare `within_group` before `filter` so derived visitors traverse function 
clauses in source order.


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