This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new c7ad2bf3d766 [SPARK-53482][SQL][FOLLOWUP] Rename
`spark.sql.merge(.nested.type.coercion.enabled -> NestedTypeCoercion.enabled)`
c7ad2bf3d766 is described below
commit c7ad2bf3d766eef4956ff270ff70f762445bb9a6
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Dec 10 18:13:56 2025 -0800
[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 f43d5cea838a4fb2f08655e812a49fc9639eeb2f)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
index c4c46bbe67f1..55c5eab5dda0 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
@@ -6612,7 +6612,7 @@ object SQLConf {
.createWithDefault(true)
val MERGE_INTO_NESTED_TYPE_COERCION_ENABLED =
- buildConf("spark.sql.merge.nested.type.coercion.enabled")
+ buildConf("spark.sql.mergeNestedTypeCoercion.enabled")
.internal()
.doc("If enabled, allow MERGE INTO to coerce source nested types if they
have less" +
"nested fields than the target table's nested types. This is
experimental and" +
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]