Repository navigation
feat(results): add geospatial string representation - #360
Conversation
7ccf066 to
f7d55e8
Compare
There was a problem hiding this comment.
Verdict: 1 Low
Solid, well-tested feature — client-side geo representation is cleanly kept out of the SEA wire, the empty-result path reconstructs the canonical tagged struct before the shared post-processing step, the native→EWKT rewrite recurses correctly through ARRAY/MAP/STRUCT, and binary mode is a verified zero-copy pass-through. No correctness or contract issues found; one Low note about untested fractional-coordinate WKT formatting parity.
f7d55e8 to
f419dd2
Compare
There was a problem hiding this comment.
Verdict: 1 Low
Looks good — a clean, well-tested feature adding a typed client-side String/Binary geospatial result representation. EWKT rendering, nested-geo-before-JSON ordering, zero-copy binary pass-through, empty-result schemas, and the client-side-only guarantee (never forwarded to SEA) are all correct and covered by unit + wiremock tests; new dependency licenses are already permitted by deny.toml. One low-severity note: the public databricks_type_to_arrow[_with_interval] helpers now default geo to Utf8 rather than the prior tagged struct (intentional, but an unannounced public-API default change).
4bb3543 to
9ef551f
Compare
There was a problem hiding this comment.
Verdict: 1 Low
Looks good — solid, well-tested implementation (string/binary/null/nested/empty paths, malformed-WKB and SRID handling all covered). New deps use already-allowed licenses, so no deny.toml change is required. One Low note: the legacy-text pass-through was narrowed from Utf8/LargeUtf8 to Utf8-only, turning a former pass-through into a hard error for LargeUtf8 geo text even in string mode.
9ef551f to
f85a29e
Compare
Signed-off-by: cat23123 <58714163+cat23123@users.noreply.github.com>
Summary
String/Binaryrepresentation choice forGEOMETRYandGEOGRAPHYArrow results, defaulting to stringsA raw
geospatial_as_stringentry insession_confis not a kernel option. It remains ordinary server-bound configuration and is forwarded unchanged; SEA/Reyden does not define that configuration. Callers must use the typed kernel or binding option.Stack
Testing
cargo fmt --all -- --checkcargo test --workspace --lockedon this layer and every stack layerLive empty geospatial result-set queries currently fail in Reyden with
XXR06 Partition 0 already finished. Non-geospatial empty results pass live, and geospatial empty-result schema handling is covered hermetically.