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: 8812746d4f044411c2687637777632442d57f452
Parents: 34f229b
Author: gatorsmile <gatorsm...@gmail.com>
Authored: Fri Oct 12 23:01:06 2018 -0700
Committer: gatorsmile <gatorsm...@gmail.com>
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

Reply via email to