dtenedor commented on code in PR #37280:
URL: https://github.com/apache/spark/pull/37280#discussion_r931662061


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/literals.scala:
##########
@@ -499,7 +499,7 @@ case class Literal (value: Any, dataType: DataType) extends 
LeafExpression {
         }
       val structFields: Array[String] =
         structNames.zip(structValues).map {
-          kv => s"${kv._1}, ${kv._2}"
+          kv => s"'${kv._1}', ${kv._2}"

Review Comment:
   It was accidentally not getting exercised, it turns out :) but now it is.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to