Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Sep 6, 2024
1 parent 138931e commit 586651e
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,21 +162,11 @@ abstract class BroadcastNestedLoopJoinExecTransformer(
}

def validateJoinTypeAndBuildSide(): ValidationResult = {
val result = joinType match {
joinType match {
case _: InnerLike | LeftOuter | RightOuter => ValidationResult.succeeded
case _ =>
ValidationResult.failed(s"$joinType join is not supported with BroadcastNestedLoopJoin")
}

if (!result.ok()) {
return result
}

(joinType, buildSide) match {
case (LeftOuter, BuildLeft) | (RightOuter, BuildRight) =>
ValidationResult.failed(s"$joinType join is not supported with $buildSide")
case _ => ValidationResult.succeeded // continue
}
}

override protected def doValidateInternal(): ValidationResult = {
Expand Down

0 comments on commit 586651e

Please sign in to comment.