lyft_evict_spark_inmem_cached_table

Removes data from Spark in-memory cache for given table. Works only for views with in-memory caching configured. If the data for given table is not cached, nothing happens.

Syntax

lyft_evict_spark_inmem_cached_table 'tableName' [;]

Arguments

'tableName'

Fully qualified name of view which data is to removed from the in-memory cache.

Example

Clears in-memory cache for Spark view AdventureWorksDW2012.dbo.DimCurrency.

EXEC lyft_evict_spark_inmem_cached_table @tableName = 'AdventureWorksDW2012.dbo.DimCurrency';