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

gurwls223 pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new ed2a4cc6033 [MINOR][DOCS] Update the docs for 
spark.sql.optimizer.canChangeCachedPlanOutputPartitioning configuration
ed2a4cc6033 is described below

commit ed2a4cc6033ac35faa7b19eb236a4c953543d519
Author: Hyukjin Kwon <gurwls...@apache.org>
AuthorDate: Wed Oct 18 11:43:59 2023 +0900

    [MINOR][DOCS] Update the docs for 
spark.sql.optimizer.canChangeCachedPlanOutputPartitioning configuration
    
    ### What changes were proposed in this pull request?
    
    This PR fixes the documentation for 
`spark.sql.optimizer.canChangeCachedPlanOutputPartitioning` configuration by 
saying this is enabled by default. This is a followup of 
https://github.com/apache/spark/pull/40390 (but did not use a JIRA due to fixed 
versions properties in the JIRA).
    
    ### Why are the changes needed?
    
    To mention that this is enabled, to the end users.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, it's an internal conf, not documented.
    
    ### How was this patch tested?
    
    CI in this PR.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #43411 from HyukjinKwon/fix-docs.
    
    Authored-by: Hyukjin Kwon <gurwls...@apache.org>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
    (cherry picked from commit 0cb4a84f6ab0c1bd101e6bc72be82987bbc02e9b)
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
---
 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 427d0480190..4ea0cd5bcc1 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
@@ -1529,7 +1529,7 @@ object SQLConf {
       .doc("Whether to forcibly enable some optimization rules that can change 
the output " +
         "partitioning of a cached query when executing it for caching. If it 
is set to true, " +
         "queries may need an extra shuffle to read the cached data. This 
configuration is " +
-        "disabled by default. Currently, the optimization rules enabled by 
this configuration " +
+        "enabled by default. The optimization rules enabled by this 
configuration " +
         s"are ${ADAPTIVE_EXECUTION_ENABLED.key} and 
${AUTO_BUCKETED_SCAN_ENABLED.key}.")
       .version("3.2.0")
       .booleanConf


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

Reply via email to