gengliangwang commented on code in PR #39812: URL: https://github.com/apache/spark/pull/39812#discussion_r1091472715
########## 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: Yup. Take partition directory naming formats as an example, the outputs from Timestamp NTZ and LTZ are exactly the same. -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org