cloud-fan commented on a change in pull request #34070:
URL: https://github.com/apache/spark/pull/34070#discussion_r716487286
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/dynamicpruning/PartitionPruning.scala
##########
@@ -225,16 +230,6 @@ object PartitionPruning extends Rule[LogicalPlan] with
PredicateHelper with Join
}.isDefined
}
- /**
- * To be able to prune partitions on a join key, the filtering side needs to
- * meet the following requirements:
- * (1) it can not be a stream
- * (2) it needs to contain a selective predicate used for filtering
Review comment:
IIUC, the eventual goal is to make sure the "filtering side" is small.
How do you guarantee it without selective predicates?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]