Expand description
Filter pushdown support for Zarr queries
This module parses DataFusion filter expressions to extract coordinate
equality filters (e.g., time = 1323647), which can be used to read
only the relevant subset of Zarr arrays.
For a Zarr store with coordinates [time, hybrid, lat, lon], a filter like
time = X AND hybrid = Y allows us to read only the slice of data where
those coordinates match, dramatically reducing memory usage.
Structs§
- Coord
Filter - Represents a parsed coordinate filter
- Coord
Filters - Collection of coordinate filters extracted from a WHERE clause
Enums§
- Coord
Values Ref - Reference to coordinate values for searching
Functions§
- calculate_
coord_ ranges - Calculate which indices to read from each coordinate based on filters
- calculate_
filtered_ rows - Calculate the total number of rows after applying coordinate filters
- coord_
ranges_ to_ array_ ranges - Calculate Zarr array subset ranges from coordinate filter ranges
- parse_
coord_ filters - Parse DataFusion filter expressions to extract coordinate equality filters