This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new bf3bef1664f [SPARK-44840][SQL][FOLLOWUP] Change the version from 3.5.0 
to 3.4.2 for `spark.sql.legacy.negativeIndexInArrayInsert`
bf3bef1664f is described below

commit bf3bef1664f431d5e951b9f6682b3df57c6a0143
Author: Max Gekk <max.g...@gmail.com>
AuthorDate: Fri Aug 25 01:59:15 2023 -0700

    [SPARK-44840][SQL][FOLLOWUP] Change the version from 3.5.0 to 3.4.2 for 
`spark.sql.legacy.negativeIndexInArrayInsert`
    
    ### What changes were proposed in this pull request?
    After the PR https://github.com/apache/spark/pull/42655, the earliest 
version when the SQL config `spark.sql.legacy.negativeIndexInArrayInsert` 
appears is `3.4.2`. This PR update configs version according to the recent 
changes.
    
    ### Why are the changes needed?
    To don't confuse users. The doc should contain actual info with the 
earliest version.
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    By CI.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No.
    
    Closes #42681 from MaxGekk/fix-array_insert-followup.
    
    Authored-by: Max Gekk <max.g...@gmail.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 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 d30ac0e30a3..beaf61f0712 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
@@ -4396,7 +4396,7 @@ object SQLConf {
         "for the index -1. For example, `array_insert(['a', 'b'], -1, 'x')` 
returns " +
         "`['a', 'x', 'b']`. When set to false, the -1 index points out to the 
last element, " +
         "and the given example produces `['a', 'b', 'x']`.")
-      .version("3.5.0")
+      .version("3.4.2")
       .booleanConf
       .createWithDefault(false)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to