pyspark.sql.Catalog.recoverPartitions

Catalog.recoverPartitions(tableName: str) → None[source]

Recovers all the partitions of the given table and update the catalog.

Only works with a partitioned table, and not a view.

New in version 2.1.1.