cloud-fan commented on a change in pull request #24675: [SPARK-27803][SQL] fix
column pruning for python UDF
URL: https://github.com/apache/spark/pull/24675#discussion_r286738848
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala
##########
@@ -1143,6 +1143,8 @@ object PushDownPredicate extends Rule[LogicalPlan] with
PredicateHelper {
case _: Repartition => true
case _: ScriptTransformation => true
case _: Sort => true
+ case _: BatchEvalPython => true
Review comment:
This defines the nodes that we can push filters through.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]