You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(spatial): replace raw geometry bytes with typed Geometry throughout
The query geometry was previously carried as Vec<u8> / &[u8] across
the entire spatial pipeline and parsed in the Data Plane handler,
meaning malformed input was only caught at execution time with no
validation feedback at the SQL or native protocol layer.
Parse and validate the geometry once on the Control Plane — at the
SQL planner (where_search) and native plan builder — then propagate
the typed nodedb_types::geometry::Geometry value through SqlPlan,
PhysicalPlan, and the distributed scatter coordinator. The Data Plane
handler receives a pre-validated value and no longer needs to parse.
Geometry validation (via nodedb_spatial::validate::validate_geometry)
now runs at query entry points and returns a structured SQL error
rather than an Internal error from the executor.
Add integration test spatial_cp_dp_query covering the full CP→DP
round trip for a spatial scan with attribute filters.
0 commit comments