laurentgo commented on a change in pull request #1975:
URL: https://github.com/apache/calcite/pull/1975#discussion_r424734460



##########
File path: core/src/main/java/org/apache/calcite/sql/type/InferTypes.java
##########
@@ -67,6 +67,9 @@ private InferTypes() {}
    */
   public static final SqlOperandTypeInference RETURN_TYPE =
       (callBinding, returnType, operandTypes) -> {
+        if (returnType == null) {

Review comment:
       should this even occur in the first place?




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


Reply via email to