You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:16:59 UTC

[jira] [Resolved] (SPARK-9272) Persist information of individual partitions when persisting partitioned data source tables to metastore

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

Hyukjin Kwon resolved SPARK-9272.
---------------------------------
    Resolution: Incomplete

> Persist information of individual partitions when persisting partitioned data source tables to metastore
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-9272
>                 URL: https://issues.apache.org/jira/browse/SPARK-9272
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Cheng Lian
>            Priority: Major
>              Labels: bulk-closed
>
> Currently, when a partitioned data source table is persisted to Hive metastore, we only persist its partition columns. Information about individual partitions are not persisted. This forces us to do a partition discovery before reading a persisted partitioned table, which hurts performance.
> To fix this issue, we may persist partition information into metastore. Specifically, the format should be compatible with Hive to ensure interoperability.
> One of the approach to collect partition values and partition directory path for dynamicly partitioned tables is to use accumulators to collect expected information during the write job.



--
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