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-571940496 Currently, I'm using `RelToSqlConverter` in my project, so I spent some time on this. I tried to fix this in `buildAggregate`, and it's affected 5 test cases in `RelToSqlConverterTest`. Here is the prototype of my fix, https://github.com/yanlin-Lynn/calcite/tree/CALCITE-3662, hope it's of some use to you.
---------------------------------------------------------------- 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
