danny0405 commented on a change in pull request #1464: [CALCITE-3360] 
SqlValidator throws NEP for unregistered function with…
URL: https://github.com/apache/calcite/pull/1464#discussion_r325967003
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/sql/SqlFunction.java
 ##########
 @@ -271,18 +271,20 @@ private RelDataType deriveType(
         return validator.deriveConstructorType(scope, call, this, function,
             argTypes);
       }
-      if (function == null && validator.isTypeCoercionEnabled()) {
+      if (function == null) {
         // try again if implicit type coercion is allowed.
 
 Review comment:
   I agree, thanks.

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