Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-42345][SQL] Rename TimestampNTZ inference conf as spark.sql.sources.timestampNTZTypeInference.enabled #39885

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -1416,6 +1416,16 @@ object SQLConf {
.booleanConf
.createWithDefault(true)

val INFER_TIMESTAMP_NTZ_IN_DATA_SOURCES =
buildConf("spark.sql.sources.timestampNTZTypeInference.enabled")
.doc("For the schema inference of JSON/CSV/JDBC data sources and partition directories, " +
"this config determines whether to choose the TimestampNTZ type if a column can be " +
"either TimestampNTZ or TimestampLTZ type. If set to true, the inference result of " +
"the column will be TimestampNTZ type. Otherwise, the result will be TimestampLTZ type.")
.version("3.4.0")
.booleanConf
.createWithDefault(false)

val BUCKETING_ENABLED = buildConf("spark.sql.sources.bucketing.enabled")
.doc("When false, we will treat bucketed table as normal table")
.version("2.0.0")
Expand Down Expand Up @@ -3518,16 +3528,6 @@ object SQLConf {
.checkValues(TimestampTypes.values.map(_.toString))
.createWithDefault(TimestampTypes.TIMESTAMP_LTZ.toString)

val INFER_TIMESTAMP_NTZ_IN_DATA_SOURCES =
buildConf("spark.sql.inferTimestampNTZInDataSources.enabled")
.doc("For the schema inference of JSON/CSV/JDBC data sources and partition directories, " +
"this config determines whether to choose the TimestampNTZ type if a column can be " +
"either TimestampNTZ or TimestampLTZ type. If set to true, the inference result of " +
"the column will be TimestampNTZ type. Otherwise, the result will be TimestampLTZ type.")
.version("3.4.0")
.booleanConf
.createWithDefault(false)

val DATETIME_JAVA8API_ENABLED = buildConf("spark.sql.datetime.java8API.enabled")
.doc("If the configuration property is set to true, java.time.Instant and " +
"java.time.LocalDate classes of Java 8 API are used as external types for " +
Expand Down