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/11/09 23:57:00 UTC
[jira] [Resolved] (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 ]
Chao Sun resolved SPARK-45731.
------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 43629
[https://github.com/apache/spark/pull/43629]
> 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
> Assignee: Chao Sun
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> 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