You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/12/21 07:39:58 UTC

[jira] [Resolved] (SPARK-18949) Add recoverPartitions API to Catalog

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

Reynold Xin resolved SPARK-18949.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0
                   2.11

> Add recoverPartitions API to Catalog
> ------------------------------------
>
>                 Key: SPARK-18949
>                 URL: https://issues.apache.org/jira/browse/SPARK-18949
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>             Fix For: 2.11, 2.2.0
>
>
> Currently, we only have a SQL interface for recovering all the partitions in the directory of a table and update the catalog. `MSCK REPAIR TABLE` or `ALTER TABLE table RECOVER PARTITIONS`. (Actually, very hard for me to remember `MSCK` and have no clue what it means)
> After the new "Scalable Partition Handling", the table repair becomes much more important for making visible the data in the created data source partitioned table.
> It is desriable to add it into the Catalog interface so that users can repair the table by
> {noformat}
> spark.catalog.recoverPartitions("testTable")
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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