[ https://issues.apache.org/jira/browse/SPARK-18949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin updated SPARK-18949: -------------------------------- Fix Version/s: (was: 2.11) 2.1.1 > 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.1.1 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org