Latest Results
feat(vortex-geo): native Point extension type and GeoDistance scalar function (#8372)
## Summary
This PR adds a native point type to `vortex-geo`. Points are by far the
most common geometry in analytical datasets, and a columnar
representation makes their coordinates directly accessible without
parsing WKB.
It also adds the scalar function: point-to-point distance with PostGIS
`ST_Distance` semantics (planar/Euclidean, results in CRS units).
## API Changes
Adds to `vortex-geo`, all registered through `vortex_geo::initialize`:
- Extension type `Point` (`vortex.geo.point`): a location stored as
`Struct<x, y, z?, m?>` of non-nullable `f64`, where `z?` is an optional
elevation and `m?` an optional measure.
- `Coordinate`: the internal value a point scalar unpacks to.
- Scalar function `GeoDistance` (`vortex.geo.distance`): per-row
distance between two equal-length point columns; either or both operands
may be constant, in which case the query point is decoded once and
broadcast.
## Testing
Unit tests cover dtype validation for every GeoArrow dimension (and
rejection of invalid storage), round-tripping a point column through
scalar execution back to the original coordinates, WKT display for all
four dimensions, and distance over all operand shapes:
column-to-constant (either side), column-to-column, and
constant-to-constant.
---
Supersedes #8342 (same change, moved from my fork to an in-repo branch).
---------
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zhenghong@spiraldb.com>
Signed-off-by: Nemo Yu <83347615+HarukiMoriarty@users.noreply.github.com>
Signed-off-by: "Nemo Yu" <zhenghong@spiraldb.com>
Co-authored-by: Joe Isaacs <joe.isaacs@live.co.uk> Latest Branches
+24%
ad/arrow-device-release-ordering +9%
0%
claude/awesome-turing-1eKcy © 2026 CodSpeed Technology