Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ trait HashJoinLikeExecTransformer
override def outputPartitioning: Partitioning = joinBuildSide match {
case BuildLeft =>
joinType match {
case _: InnerLike | RightOuter => expandPartitioning(right.outputPartitioning)
case _: InnerLike => expandPartitioning(right.outputPartitioning)
case RightOuter => right.outputPartitioning
case LeftOuter => left.outputPartitioning
case FullOuter => UnknownPartitioning(left.outputPartitioning.numPartitions)
case x =>
Expand All @@ -180,8 +181,8 @@ trait HashJoinLikeExecTransformer
}
case BuildRight =>
joinType match {
case _: InnerLike | LeftOuter | LeftSemi | LeftAnti | _: ExistenceJoin =>
expandPartitioning(left.outputPartitioning)
case _: InnerLike => expandPartitioning(left.outputPartitioning)
case LeftOuter | LeftSemi | LeftAnti | _: ExistenceJoin => left.outputPartitioning
case RightOuter => right.outputPartitioning
case FullOuter => UnknownPartitioning(right.outputPartitioning.numPartitions)
case x =>
Expand Down