spark git commit: [MINOR] Fix code comment in BooleanSimplification.
Repository: spark Updated Branches: refs/heads/branch-2.4 5554a33f2 -> 765cbcace [MINOR] Fix code comment in BooleanSimplification. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/765cbcac Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/765cbcac Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/765cbcac Branch: refs/heads/branch-2.4 Commit: 765cbcace23da888a1ca6d0e76b8bc03f4a8e883 Parents: 5554a33 Author: gatorsmile Authored: Fri Oct 12 23:03:06 2018 -0700 Committer: gatorsmile Committed: Fri Oct 12 23:03:06 2018 -0700 -- .../org/apache/spark/sql/catalyst/optimizer/expressions.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/765cbcac/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala -- diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala index 8459043..3c4b284 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala @@ -276,7 +276,7 @@ object BooleanSimplification extends Rule[LogicalPlan] with PredicateHelper { case a And b if a.semanticEquals(b) => a case a Or b if a.semanticEquals(b) => a - // The following optimization is applicable only when the operands are nullable, + // The following optimization is applicable only when the operands are not nullable, // since the three-value logic of AND and OR are different in NULL handling. // See the chart: // +-+-+-+-+ - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org
spark git commit: [MINOR] Fix code comment in BooleanSimplification.
Repository: spark Updated Branches: refs/heads/master 34f229bc2 -> 8812746d4 [MINOR] Fix code comment in BooleanSimplification. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/8812746d Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/8812746d Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/8812746d Branch: refs/heads/master Commit: 8812746d4f044411c268763632442d57f452 Parents: 34f229b Author: gatorsmile Authored: Fri Oct 12 23:01:06 2018 -0700 Committer: gatorsmile Committed: Fri Oct 12 23:01:06 2018 -0700 -- .../org/apache/spark/sql/catalyst/optimizer/expressions.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/8812746d/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala -- diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala index 8459043..3c4b284 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala @@ -276,7 +276,7 @@ object BooleanSimplification extends Rule[LogicalPlan] with PredicateHelper { case a And b if a.semanticEquals(b) => a case a Or b if a.semanticEquals(b) => a - // The following optimization is applicable only when the operands are nullable, + // The following optimization is applicable only when the operands are not nullable, // since the three-value logic of AND and OR are different in NULL handling. // See the chart: // +-+-+-+-+ - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org