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 <[email protected]> Authored: Fri Oct 12 23:03:06 2018 -0700 Committer: gatorsmile <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
