Hisoka-X commented on code in PR #41065:
URL: https://github.com/apache/spark/pull/41065#discussion_r1186591709


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/ToPrettyString.scala:
##########
@@ -45,6 +45,10 @@ case class ToPrettyString(child: Expression, timeZoneId: 
Option[String] = None)
   override protected def leftBracket: String = "{"
   override protected def rightBracket: String = "}"
 
+  override def kvPairSeparator: String = ":"
+
+  override protected def elementSeparator: String = ","

Review Comment:
   ```suggestion
     override protected def elementSeparator: String = ", "
   ```
   Add space between kv maybe better.



-- 
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