michaelmior commented on a change in pull request #1305: [CALCITE-3177]Find 
operator by name and operator.
URL: https://github.com/apache/calcite/pull/1305#discussion_r306316900
 
 

 ##########
 File path: core/src/test/java/org/apache/calcite/plan/RelWriterTest.java
 ##########
 @@ -472,6 +508,40 @@
             + "  LogicalFilter(condition=[=($1, null:INTEGER)])\n"
             + "    LogicalTableScan(table=[[hr, emps]])\n"));
   }
+
+  @Test public void testPlusOperator() {
+    String sql = "select SAL + 10 FROM SALES.EMP";
+    RelRoot relRoot = tester.convertSqlToRel(sql);
+    RelJsonWriter jsonWriter = new RelJsonWriter();
+    relRoot.rel.explain(jsonWriter);
+    String relJson = jsonWriter.asString();
+    System.out.println(relJson);
 
 Review comment:
   This print statement should be removed.

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

Reply via email to