Skip to content

Commit ea136d1

Browse files
committed
fix pattern match null
1 parent 62065ac commit ea136d1

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ abstract class Expression extends TreeNode[Expression] {
268268

269269
protected def flatArgumentStrings: Iterator[String] = flatArguments.map {
270270
case e: Expression => e.argumentString
271-
case arg: Any => arg.toString
271+
case arg => s"$arg"
272272
}
273273

274274
// Marks this as final, Expression.verboseString should never be called, and thus shouldn't be

0 commit comments

Comments
 (0)