Skip to content

Commit d8b5abc

Browse files
committed
Use interpolation.
1 parent 2fdf903 commit d8b5abc

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/nullFunctions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ case class Coalesce(children: Seq[Expression]) extends Expression {
3939
} else {
4040
val childTypes = children.map(c => s"$c: ${c.dataType}").mkString(", ")
4141
throw new UnresolvedException(
42-
this, "Coalesce cannot have children of different types. $childTypes")
42+
this, s"Coalesce cannot have children of different types. $childTypes")
4343
}
4444

4545
override def eval(input: Row): Any = {

0 commit comments

Comments
 (0)