SourceSnapshotStorage
SourceSnapshotStorage()
Storage that caches expressions within the source backend using a snapshot strategy.
This storage class materializes intermediate results as tables within the source backend itself (e.g., as temporary tables in a database) and uses a snapshot-based approach for cache invalidation. The snapshot strategy ensures cached data is only invalidated when the expression’s definition changes, making it suitable for stable datasets that are queried frequently.
Parameters
Name | Type | Description | Default |
---|---|---|---|
source | ibis.backends.BaseBackend | The backend to use for both execution and storage. Defaults to xorq’s default backend. | required |