pyspark.sql.Catalog.recoverPartitions

Catalog.recoverPartitions(tableName: str) → None

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

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