Skip to content
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'apache-github/master' into SPARK-22187-1
  • Loading branch information
tdas committed Jul 19, 2018
commit 58ce6e13741b39a9b724378c98561a3acba9e596
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ trait ComplexTypeMergingExpression extends Expression {
inputTypesForMerging.nonEmpty,
"The collection of input data types must not be empty.")
require(
areInputTypesForMergingEqual,
TypeCoercion.haveSameType(inputTypesForMerging),
"All input types must be the same except nullable, containsNull, valueContainsNull flags." +
s" The input types found are\n\t${inputTypesForMerging.mkString("\n\t")}")
inputTypesForMerging.reduceLeft(TypeCoercion.findCommonTypeDifferentOnlyInNullFlags(_, _).get)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.