Expand description
File and zone pruning for spatial filters, using the GeometryAabb axis-aligned
bounding box (AABB) statistic.
One module per predicate. To prune a new one: recover the geometry column and the constant
with geometry_and_constant (preserving operand order for asymmetric predicates), reduce the
constant with query_aabb, build the proof over aabb_stat, and register the rule in
crate::initialize. No new statistic or file-format change is needed.
Structs§
- Spatial
Contains Prune - Prunes files and zones for positive
ST_Containsfilters using their aggregate AABB. - Spatial
Distance Prune - Prunes chunks for
ST_Distance(geom, const) <op> rfilters. - Spatial
Intersects Prune - Prunes chunks for
ST_Intersects(geom, const)filters: a chunk whose box is strictly separated from the constant’s bounding box cannot contain an intersecting row.