**Describe the bug** parser error. **To Reproduce** Steps to reproduce the behavior: 1. Example SQL : select a from b group by c desc; 2. Parsing this SQL using JSqlParser with this statements 3. Exception : JSQLParserException **Expected behavior** parser success. **System** - mysql 5.7 - Java 1.8 - JSqlParser 4.0
Activity
wumpz commentedon Apr 28, 2021
I have never seen such a construct. Is
group by c desca shortcut forgroup by c order by c desc?zhaochengbei commentedon Apr 29, 2021
This is an old way of writing. This SQL can be run on MySQL.
feat(parser): support opt-in legacy MySQL GROUP BY ordering (JSQLPars…