Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaido91 authored Apr 27, 2018
1 parent eafca0f commit 5925104
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ trait BinaryArrayExpressionWithImplicitCast extends BinaryExpression
override def checkInputDataTypes(): TypeCheckResult = {
TypeCoercion.findWiderTypeForTwo(left.dataType, right.dataType) match {
case Some(ArrayType(_, _)) => TypeCheckResult.TypeCheckSuccess
case None => TypeCheckResult.TypeCheckFailure(s"input to function $prettyName should have " +
case _ => TypeCheckResult.TypeCheckFailure(s"input to function $prettyName should have " +
s"been two ${ArrayType.simpleString}s with same element type, but it's " +
s"[${left.dataType.simpleString}, ${right.dataType.simpleString}]")
}
Expand Down

0 comments on commit 5925104

Please sign in to comment.