Skip to content

Commit c7ad2bf

Browse files
committed
[SPARK-53482][SQL][FOLLOWUP] Rename spark.sql.merge(.nested.type.coercion.enabled -> NestedTypeCoercion.enabled)
### What changes were proposed in this pull request? This PR aims to rename `spark.sql.merge.nested.type.coercion.enabled` to follow the Apache Spark convention. ``` - spark.sql.merge.nested.type.coercion.enabled + spark.sql.mergeNestedTypeCoercion.enabled ``` ### Why are the changes needed? To avoid to create many naming spaces. ### Does this PR introduce _any_ user-facing change? Yes, but this is not released as 4.1.0. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #53434 from dongjoon-hyun/SPARK-53482. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit f43d5ce) Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent e3b4066 commit c7ad2bf

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/internal

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6612,7 +6612,7 @@ object SQLConf {
66126612
.createWithDefault(true)
66136613

66146614
val MERGE_INTO_NESTED_TYPE_COERCION_ENABLED =
6615-
buildConf("spark.sql.merge.nested.type.coercion.enabled")
6615+
buildConf("spark.sql.mergeNestedTypeCoercion.enabled")
66166616
.internal()
66176617
.doc("If enabled, allow MERGE INTO to coerce source nested types if they have less" +
66186618
"nested fields than the target table's nested types. This is experimental and" +

0 commit comments

Comments
 (0)