File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sql/core/src/main/scala/org/apache/spark/sql/execution/joins Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ case class HashOuterJoin(
4848 case LeftOuter => left.outputPartitioning
4949 case RightOuter => right.outputPartitioning
5050 case FullOuter => UnknownPartitioning (left.outputPartitioning.numPartitions)
51- case x => throw new IllegalStateException (s " HashOuterJoin should not take $x as the JoinType " )
51+ case x => throw new IllegalArgumentException (s " HashOuterJoin should not take $x as the JoinType " )
5252 }
5353
5454 override def requiredChildDistribution : Seq [ClusteredDistribution ] =
@@ -63,7 +63,7 @@ case class HashOuterJoin(
6363 case FullOuter =>
6464 left.output.map(_.withNullability(true )) ++ right.output.map(_.withNullability(true ))
6565 case x =>
66- throw new IllegalStateException (s " HashOuterJoin should not take $x as the JoinType " )
66+ throw new IllegalArgumentException (s " HashOuterJoin should not take $x as the JoinType " )
6767 }
6868 }
6969
@@ -217,7 +217,7 @@ case class HashOuterJoin(
217217 }
218218
219219 case x =>
220- throw new IllegalStateException (s " HashOuterJoin should not take $x as the JoinType " )
220+ throw new IllegalArgumentException (s " HashOuterJoin should not take $x as the JoinType " )
221221 }
222222 }
223223 }
You can’t perform that action at this time.
0 commit comments