You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/06/29 03:00:56 UTC

[GitHub] [spark] HyukjinKwon commented on a change in pull request #32365: [SPARK-35228][SQL] Add expression ToPrettyString for keep consistent between hive/spark format in df.show and transform

HyukjinKwon commented on a change in pull request #32365:
URL: https://github.com/apache/spark/pull/32365#discussion_r660245441



##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -3167,6 +3167,16 @@ object SQLConf {
       .booleanConf
       .createWithDefault(true)
 
+  val LEGACY_CAST_TO_STRING =
+    buildConf("spark.sql.legacy.castToString.enabled")
+      .internal()
+      .doc("When true, df.show() will print string as origin format." +
+        " Otherwise, if this is false, which is default, df.show() will print data " +
+        "as HiveResult's format.")

Review comment:
       ```suggestion
           "as Hive's result format.")
   ```




-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org