You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/01/03 07:05:34 UTC

[GitHub] [calcite] helloppx commented on issue #1715: [CALCITE-3662] Generate wrong SQL when plan contains Project(Sort(Aggregate)) and aggregate field has no alias

helloppx 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-570484167
 
 
   > How about add a test in `RelToSqlConverterTest` ?
   
   I did some research. If we want to reproduce this JIRA case, we must use `SqlToRelConverter` to convert SQL to REL and then use `RelToSqlConverter` to generate SQL. If we move this case to `RelToSqlConverterTest`, It is not easy to use `SqlToRelTestBase#createTester()#convertSqlToRel(sql)` method for this case.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services