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: [email protected]
For additional commands, e-mail: [email protected]