Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Sep 9, 2024
1 parent a52aecb commit 23cb69a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ abstract class BroadcastNestedLoopJoinExecTransformer(
joinType match {
case _: InnerLike => right.outputPartitioning
case RightOuter => right.outputPartitioning
case LeftOuter => left.outputPartitioning
case x =>
throw new IllegalArgumentException(
s"BroadcastNestedLoopJoin should not take $x as the JoinType with building left side")
Expand All @@ -104,6 +105,7 @@ abstract class BroadcastNestedLoopJoinExecTransformer(
joinType match {
case _: InnerLike => left.outputPartitioning
case LeftOuter => left.outputPartitioning
case RightOuter => right.outputPartitioning
case x =>
throw new IllegalArgumentException(
s"BroadcastNestedLoopJoin should not take $x as the JoinType with building right side")
Expand All @@ -123,9 +125,7 @@ abstract class BroadcastNestedLoopJoinExecTransformer(

val operatorId = context.nextOperatorId(this.nodeName)
val joinParams = new JoinParams
if (condition.isDefined) {
joinParams.isWithCondition = true
}
joinParams.isWithCondition = condition.isDefined

val crossRel = JoinUtils.createCrossRel(
substraitJoinType,
Expand Down

0 comments on commit 23cb69a

Please sign in to comment.