cloud-fan commented on code in PR #39812:
URL: https://github.com/apache/spark/pull/39812#discussion_r1091468483
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3511,8 +3511,9 @@ object SQLConf {
buildConf("spark.sql.inferTimestampNTZInDataSources.enabled")
.doc("When true, the TimestampNTZ type is the prior choice of the schema
inference " +
"over built-in data sources. Otherwise, the inference result will be
TimestampLTZ for " +
- "backward compatibility. As a result, for JSON/CSV files written with
TimestampNTZ " +
- "columns, the inference results will still be of TimestampLTZ types.")
+ "backward compatibility. As a result, for JSON/CSV files and partition
directories " +
+ "written with TimestampNTZ columns, the inference results will still
be of TimestampLTZ " +
+ "types.")
.version("3.4.0")
.booleanConf
.createWithDefault(false)
Review Comment:
does it mean users can't do NTZ roundtrip (write and read) in 3.4 by default?
--
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]