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 2018/10/11 06:59:00 UTC

[jira] [Assigned] (SPARK-25701) Supports calculation of table statistics from partition's catalog statistics

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

Apache Spark reassigned SPARK-25701:
------------------------------------

    Assignee:     (was: Apache Spark)

> Supports calculation of table statistics from partition's catalog statistics
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-25701
>                 URL: https://issues.apache.org/jira/browse/SPARK-25701
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.2
>            Reporter: Jinhua Fu
>            Priority: Minor
>
> When obtaining table statistics, if the `totalSize` of the table is not defined, we fallback to HDFS to get the table statistics when `spark.sql.statistics.fallBackToHdfs` is `true`, otherwise the default value(`spark.sql.defaultSizeInBytes`) will be taken.
> Fortunately, in most case the data is written into the table by a insertion command which will save the data-size in meta data, so it's possible to use meta data to calculate the table statistics.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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