LucaCappelletti94 commented on issue #2056:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/issues/2056#issuecomment-5867887554

   `Select.group_by` is a `GroupByExpr`, and a query without `GROUP BY` parses 
to `GroupByExpr::Expressions` with two empty lists. Check 
`matches!(select.group_by, GroupByExpr::Expressions(ref e, _) if e.is_empty())` 
to detect a missing clause. Closing as answered.


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