pyspark.sql.Catalog.clearCache

Catalog.clearCache() → None

Removes all cached tables from the in-memory cache.