You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "chenhao-db (via GitHub)" <gi...@apache.org> on 2024/08/14 06:56:53 UTC
Re: [PR] [SPARK-48873][SQL][FOLLOWUP] Add useUnsafeRow to JSON options. [spark]
chenhao-db commented on code in PR #47744:
URL: https://github.com/apache/spark/pull/47744#discussion_r1716401604
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JSONOptions.scala:
##########
@@ -284,6 +287,7 @@ object JSONOptions extends DataSourceOptions {
val TIME_ZONE = newOption("timeZone")
val WRITE_NON_ASCII_CHARACTER_AS_CODEPOINT = newOption("writeNonAsciiCharacterAsCodePoint")
val SINGLE_VARIANT_COLUMN = newOption("singleVariantColumn")
+ val USE_UNSAFE_ROW = newOption("useUnsafeRow")
Review Comment:
@HyukjinKwon Just added to the doc. We don't need to especially expose it. `.option("useUnsafeRow", "true")` will just work. This is also how other options are used.
--
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