zml1206 commented on code in PR #49202:
URL: https://github.com/apache/spark/pull/49202#discussion_r1896401395


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala:
##########
@@ -107,6 +107,14 @@ trait PredicateHelper extends AliasHelper with Logging {
     }
   }
 
+  /**
+   * First split the predicates by And, then combine the predicates with the 
same references.

Review Comment:
   
   It is unnecessary to continuously split and merge with. We only need to 
split by and to generate with, and finally merge with before rewriting with.



-- 
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: reviews-unsubscr...@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to