cloud-fan commented on code in PR #47313:
URL: https://github.com/apache/spark/pull/47313#discussion_r1675392018


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/planning/patterns.scala:
##########
@@ -67,7 +67,7 @@ trait OperationHelper extends AliasHelper with 
PredicateHelper {
           empty
         }
 
-      case Filter(condition, child) =>
+      case Filter(condition, child) if 
!condition.exists(_.isInstanceOf[PythonUDF]) =>

Review Comment:
   shall we put the fix in `PruneFileSourcePartitions` instead of this 
low-level pattern match? For example, we exclude subquery expressions in 
`PruneFileSourcePartitions`



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