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/04/19 12:07:45 UTC

[GitHub] [calcite] xy2953396112 opened a new pull request #1925: [CALCITE-3938] implement visit LogicalCalc in RelShuttleImpl

xy2953396112 opened a new pull request #1925: [CALCITE-3938] implement visit LogicalCalc in RelShuttleImpl 
URL: https://github.com/apache/calcite/pull/1925
 
 
   https://issues.apache.org/jira/browse/CALCITE-3938

----------------------------------------------------------------
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

[GitHub] [calcite] jinxing64 commented on issue #1925: [CALCITE-3938] implement visit LogicalCalc in RelShuttleImpl

Posted by GitBox <gi...@apache.org>.
jinxing64 commented on issue #1925: [CALCITE-3938] implement visit LogicalCalc in RelShuttleImpl 
URL: https://github.com/apache/calcite/pull/1925#issuecomment-616128780
 
 
   How about rename the title as "Support LogicalCalc in RelShuttle" just as CALCITE-3607 ?

----------------------------------------------------------------
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

[GitHub] [calcite] xy2953396112 commented on issue #1925: [CALCITE-3938] implement visit LogicalCalc in RelShuttleImpl

Posted by GitBox <gi...@apache.org>.
xy2953396112 commented on issue #1925: [CALCITE-3938] implement visit LogicalCalc in RelShuttleImpl 
URL: https://github.com/apache/calcite/pull/1925#issuecomment-616129437
 
 
   > How about rename the title as "Support LogicalCalc in RelShuttle" just as [CALCITE-3607](https://issues.apache.org/jira/browse/CALCITE-3607) ?
   
   ok, thanks for review.

----------------------------------------------------------------
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

[GitHub] [calcite] jinxing64 commented on a change in pull request #1925: [CALCITE-3938] implement visit LogicalCalc in RelShuttleImpl

Posted by GitBox <gi...@apache.org>.
jinxing64 commented on a change in pull request #1925: [CALCITE-3938] implement visit LogicalCalc in RelShuttleImpl 
URL: https://github.com/apache/calcite/pull/1925#discussion_r410898488
 
 

 ##########
 File path: core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java
 ##########
 @@ -2106,6 +2111,27 @@ public final Sql sql(String sql) {
     assertTrue(filterCollation.satisfies(sortCollation));
   }
 
+  @Test void testRelShuttleForLogicalCalc() {
+    final String sql = "select ename from emp";
+    final RelNode rel = tester.convertSqlToRel(sql).rel;
+    final HepProgramBuilder programBuilder = HepProgram.builder();
+    programBuilder.addRuleInstance(ProjectToCalcRule.INSTANCE);
+    HepPlanner planner = new HepPlanner(programBuilder.build());
 
 Review comment:
   final ?

----------------------------------------------------------------
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