You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zhenhua Wang (JIRA)" <ji...@apache.org> on 2017/07/08 07:39:00 UTC

[jira] [Updated] (SPARK-21083) Store zero size and row count after analyzing empty table

     [ https://issues.apache.org/jira/browse/SPARK-21083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenhua Wang updated SPARK-21083:
---------------------------------
    Summary: Store zero size and row count after analyzing empty table  (was: Do not remove correct stats when re-analyze)

> Store zero size and row count after analyzing empty table
> ---------------------------------------------------------
>
>                 Key: SPARK-21083
>                 URL: https://issues.apache.org/jira/browse/SPARK-21083
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Zhenhua Wang
>
> 1. When we first analyze without `noscan` and then analyze with `noscan`, the table is not changed, so we should keep row count in statistics.
> 2. When we first analyze one column in table and then analyze another column, the table is not changed, so we should keep the previous column stats and combine them with the newly collected column stats.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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