Skip to content

Commit cf1475a

Browse files
committed
Update CheckAnalysis.scala
1 parent 6541ec4 commit cf1475a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,6 @@ trait CheckAnalysis {
111111
s"union node: $u left output size: ${left.output.size}, " +
112112
s"right output size: ${right.output.size}")
113113

114-
case u @ Union(left, right) if left.output.zip(right.output).exists(z => z._1.dataType != z._2.dataType) =>
115-
failAnalysis(
116-
s"union's left child and right child have different output types." +
117-
s"union node: $u. left output datatypes: ${left.output.map(_.dataType)}, " +
118-
s"right output datatypes: ${right.output.map(_.dataType)}")
119-
120114
case _ => // Fallbacks to the following checks
121115
}
122116

0 commit comments

Comments
 (0)