You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yu.Ken (Jira)" <ji...@apache.org> on 2020/12/17 09:56:00 UTC

[jira] [Commented] (SPARK-33825) Is Spark SQL able to auto update partition stats like hive by setting hive.stats.autogather=true

    [ https://issues.apache.org/jira/browse/SPARK-33825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17250954#comment-17250954 ] 

Yu.Ken commented on SPARK-33825:
--------------------------------

Dose anybody konws how to fix it?

> Is Spark SQL able to auto update partition stats like hive by setting hive.stats.autogather=true
> ------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-33825
>                 URL: https://issues.apache.org/jira/browse/SPARK-33825
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 3.0.1
>            Reporter: yang
>            Priority: Major
>              Labels: partitionStat
>
> {{`spark.sql.statistics.size.autoUpdate.enabled` is only work for table stats update.}}{{But for partition stats,I can only update it with `ANALYZE TABLE tablename PARTITION(part) COMPUTE STATISTICS`.So is Spark SQL able to auto update partition stats like hive by setting hive.stats.autogather=true?}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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