xiedeyantu commented on PR #4671:
URL: https://github.com/apache/calcite/pull/4671#issuecomment-3634648146

   > The question was whether it's necessary to add a new argument to SELECT or 
you can reuse the existing implementation by generating the old form directly 
in the parser
   
   Here's my understanding: although introducing a `SqlBy` node could capture 
columns after `BY`, the `BY` syntax also needs to inject additional `SELECT` 
items, `GROUP BY` items, and `ORDER BY` items, which similarly require 
information from the `SELECT` clause. It feels more convenient to handle this 
within `SELECT`.


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

Reply via email to