pyspark.sql.Catalog.refreshByPath

Catalog.refreshByPath(path: str) → None

Invalidates and refreshes all the cached data (and the associated metadata) for any DataFrame that contains the given data source path.