SourceSnapshotCache

SourceSnapshotCache()

Cache expression results as a table in a source backend, with a stable key.

Pairs SnapshotStrategy with SourceStorage: the result is stored as a table in the source backend, and the cache key is computed from the expression structure only, so source-data changes do not invalidate cached results. 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