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 2022/08/12 19:40:48 UTC

[GitHub] [spark] dtenedor commented on a diff in pull request #37431: [SPARK-40001][SQL] Make NULL writes to JSON DEFAULT columns write ‘null’ to storage

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


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -2924,6 +2924,18 @@ object SQLConf {
       .stringConf
       .createWithDefault("csv,json,orc,parquet")
 
+  val DEFAULT_COLUMN_JSON_GENERATOR_FORCE_NULL_FIELDS =
+    buildConf("spark.sql.defaultColumn.jsonGeneratorForceNullFields")

Review Comment:
   Sounds good, done!



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