SourceCache

SourceCache()

Cache expression results as a table in a source backend, with automatic invalidation.

Pairs ModificationTimeStrategy with SourceStorage: the result is stored as a table in the source backend, and the cache key folds in source-data metadata so the cache invalidates automatically when the upstream data changes. Build it with :meth:from_kwargs.

Parameters

Name Type Description Default
source ibis.backends.BaseBackend Backend the cache table lives in. Defaults to xorq’s default backend. required