Skip to content

Commit 1ac512b

Browse files
committed
Drop unrelated fixes
1 parent a8f5a0f commit 1ac512b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ case class Concat(children: Seq[Expression]) extends Expression {
5858
} else {
5959
val childTypes = children.map(_.dataType)
6060
if (childTypes.exists(tpe => !Seq(StringType, BinaryType).contains(tpe))) {
61-
return TypeCheckResult.TypeCheckFailure(
61+
TypeCheckResult.TypeCheckFailure(
6262
s"input to function $prettyName should have StringType or BinaryType, but it's " +
6363
childTypes.map(_.simpleString).mkString("[", ", ", "]"))
6464
}

0 commit comments

Comments
 (0)