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



##########
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) {
+          return;

Review comment:
       Can this return nothing? Is the return type is "VOID" (seems not so)?




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


Reply via email to