You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/11/01 20:12:00 UTC
[jira] [Updated] (SPARK-45731) Update partition statistics with ANALYZE TABLE command
[ https://issues.apache.org/jira/browse/SPARK-45731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SPARK-45731:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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