cloud-fan commented on a change in pull request #33248:
URL: https://github.com/apache/spark/pull/33248#discussion_r666205984
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/physical/partitioning.scala
##########
@@ -347,6 +347,7 @@ case class BroadcastPartitioning(mode: BroadcastMode)
extends Partitioning {
override val numPartitions: Int = 1
override def satisfies0(required: Distribution): Boolean = required match {
+ case UnspecifiedDistribution => true
Review comment:
This is the only one, as I don't want to special-case broadcast in the
new `ValidateRequirements` like `EnsureRequirements` did, but I can do that to
avoid making this change (it doesn't have any real impact though)
--
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]