We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6541ec4 commit cf1475aCopy full SHA for cf1475a
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala
@@ -111,12 +111,6 @@ trait CheckAnalysis {
111
s"union node: $u left output size: ${left.output.size}, " +
112
s"right output size: ${right.output.size}")
113
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
-
120
case _ => // Fallbacks to the following checks
121
}
122
0 commit comments