pyspark.sql.Catalog.refreshByPath

Catalog.refreshByPath(path: str) → None[source]

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

New in version 2.2.0.