Expand description
Chunk pruning for spatial filters, using the per-chunk GeometryAabb axis-aligned
bounding box (AABB).
One module per predicate. To prune a new one: recover the geometry column and the constant
(symmetric predicates can use geometry_and_constant), reduce the constant to its box with
query_aabb, build the proof over aabb_stat from the box-relation builders (min_dist_sq,
max_dist_sq), and register the rule in crate::initialize. No new statistic or
file-format change is needed.
Structs§
- 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.