Wang Yanlin
Wang Yanlin
I add a test case in RelToSqlConverterTest, it seems to produce a correct sql ``` @Test public void testGroupByWithLimitPlan() { String query = "SELECT sum(\"salary\") FROM \"employee\" group by \"gender\"...
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...
We can reproduce the case in `RelToSqlConverterTest`, you can apply `SortProjectTransposeRule.INSTANCE` rule to make sure Sort transpose Project
You seem to use a wrong title for this PR.
I think you may need this https://github.com/apache/calcite/pull/1439 to update your commit log.
`RelNode planAfter = LoptOptimizeJoinRule.INSTANCE.onMatch(planAfter);` This line of code in test doesn't work, no definition of `planAfter`