You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chao Sun (Jira)" <ji...@apache.org> on 2023/10/30 23:29:00 UTC

[jira] [Created] (SPARK-45731) Update partition statistics with ANALYZE TABLE command

Chao Sun created SPARK-45731:
--------------------------------

             Summary: Update partition statistics with ANALYZE TABLE command
                 Key: SPARK-45731
                 URL: https://issues.apache.org/jira/browse/SPARK-45731
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.5.0
            Reporter: Chao Sun


Currently {{ANALYZE TABLE}} command only updates table-level stats but not partition stats, even though it can be applied to both non-partitioned and partitioned tables. It seems make sense for it to update partition stats as well.

Note users can use {{ANALYZE TABLE PARTITION(..)}} to get the same effect, but the syntax is more verbose as they need to specify all the partition columns. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org