ParquetCache
ParquetCache()Cache expressions as Parquet files using a snapshot invalidation strategy.
This storage class saves intermediate results as Parquet files in a specified directory 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.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| source | ibis.backends.BaseBackend | The backend to use for execution. Defaults to xorq’s default backend. | required |
| path | Path | The directory where Parquet files will be stored. Defaults to xorq.config.options.cache.default_path. | required |