You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/06/13 17:30:00 UTC
[jira] [Commented] (SPARK-21083) Consider staleness when collecting
column stats
[ https://issues.apache.org/jira/browse/SPARK-21083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048139#comment-16048139 ]
Apache Spark commented on SPARK-21083:
--------------------------------------
User 'wzhfy' has created a pull request for this issue:
https://github.com/apache/spark/pull/18292
> Consider staleness when collecting column stats
> -----------------------------------------------
>
> 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
>
> Suppose we already collected column stats for some columns before, then, when we collect column stats for other columns:
> * If the table is changed during two collecting actions, we need to remove these stale column stats, only keep the latest stats.
> * Otherwise, combine these two sets of column stats.
> Note that we always update sizeInBytes/rowCount when collecting column stats, that logic doesn't need change.
--
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