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 2019/10/16 09:39:10 UTC

[GitHub] [calcite] danny0405 commented on a change in pull request #1437: [CALCITE-3318] Preserving CAST of STRING operands in comparison operator

danny0405 commented on a change in pull request #1437: [CALCITE-3318] Preserving CAST of STRING operands in comparison operator
URL: https://github.com/apache/calcite/pull/1437#discussion_r335367104
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/rel/rel2sql/SqlImplementor.java
 ##########
 @@ -193,7 +193,7 @@ public Result setOpToSql(SqlSetOperator operator, RelNode rel) {
    * @param leftFieldCount  Number of fields on left result
    * @return SqlNode that represents the condition
    */
-  public static SqlNode convertConditionToSqlNode(RexNode node,
+  public SqlNode convertConditionToSqlNode(RexNode node,
 
 Review comment:
   I would prefer to still make it static because it is a tool method, you can add a SqlDialect as additional argument.

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