Learn R Programming

SparkR (version 3.1.2)

recoverPartitions: Recovers all the partitions in the directory of a table and update the catalog

Description

Recovers all the partitions in the directory of a table and update the catalog. The name should reference a partitioned table, and not a view.

Usage

recoverPartitions(tableName)

Arguments

tableName

the qualified or unqualified name that designates a table. If no database identifier is provided, it refers to a table in the current database.

Examples

Run this code
# NOT RUN {
sparkR.session()
recoverPartitions("myTable")
# }

Run the code above in your browser using DataLab