yanlin-Lynn commented on issue #1715: [CALCITE-3662] Generate wrong SQL when plan contains Project(Sort(Aggregate)) and aggregate field has no alias URL: https://github.com/apache/calcite/pull/1715#issuecomment-572465553 We can reproduce the case in `RelToSqlConverterTest`, you can apply `SortProjectTransposeRule.INSTANCE` rule to make sure Sort transpose Project
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
