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 2021/12/30 09:27:17 UTC

[GitHub] [calcite] talatuyarer commented on a change in pull request #2667: [CALCITE-3627] New Row Null Policy

talatuyarer commented on a change in pull request #2667:
URL: https://github.com/apache/calcite/pull/2667#discussion_r776639484



##########
File path: core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java
##########
@@ -3107,7 +3107,13 @@ Expression getCondition(final List<Expression> argIsNullList) {
       if (nullPolicy == NullPolicy.ARG0) {
         return argIsNullList.get(0);
       }
-      return Expressions.foldOr(argIsNullList);
+      // Condition for regular cases: v0 == null || v1 == null
+      Expression condition = Expressions.foldOr(argIsNullList);

Review comment:
       I changed this code block as you suggested. @DonnyZone 




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

To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org