Skip to content

Commit a0d4e73

Browse files
committed
delete skew join
1 parent 0e72233 commit a0d4e73

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,4 @@ private[sql] abstract class SparkStrategies extends QueryPlanner[SparkPlan] {
196196
}
197197
}
198198

199-
object SkewJoin extends Strategy with PredicateHelper {
200-
def apply(plan: LogicalPlan): Seq[SparkPlan] = plan match {
201-
// Find inner joins where at least some predicates can be evaluated by matching hash keys
202-
// using the HashFilteredJoin pattern.
203-
case SkewFilteredJoin(Inner, leftKeys, rightKeys, condition, left, right) =>
204-
val hashJoin =
205-
execution.SkewJoin(leftKeys, rightKeys, BuildRight, planLater(left), planLater(right), sparkContext)
206-
condition.map(Filter(_, hashJoin)).getOrElse(hashJoin) :: Nil
207-
case _ => Nil
208-
}
209-
}
199+

0 commit comments

Comments
 (0)