jinxing64 commented on a change in pull request #1605: [CALCITE-3536] Wrong 
semantics in CoalesceImplementor
URL: https://github.com/apache/calcite/pull/1605#discussion_r350714234
 
 

 ##########
 File path: 
core/src/main/java/org/apache/calcite/sql/fun/SqlCoalesceFunction.java
 ##########
 @@ -29,12 +29,21 @@
 import org.apache.calcite.sql.validate.SqlValidator;
 import org.apache.calcite.util.Util;
 
+import com.google.common.annotations.VisibleForTesting;
+
 import java.util.List;
 
 /**
  * The <code>COALESCE</code> function.
  */
 public class SqlCoalesceFunction extends SqlFunction {
+
+  /**
+   * Only used for testing.
+   */
+  @VisibleForTesting
+  public static boolean enableRewriteCall = true;
 
 Review comment:
   Thanks @zabetak It's very good for me :)
   I refined by your comment ~

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


With regards,
Apache Git Services

Reply via email to