Repository navigation
refactor(proposals): extract GeoArrow geometry column resolution - #11212
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] This refactor appears safe to merge. SummaryExtracts GeoArrow geometry selection into a schema-only helper while keeping existing imports and rendering behavior unchanged.
No actionable issues found. Tests were not run during this review. Reviews (1) · Last reviewed commit: "refactor(proposals): extract GeoArrow ge..." · Reviewed by Greptile |
chrisgervang
left a comment
There was a problem hiding this comment.
Reviewed 19d9e67 after merge; recommend approval. No P1s. The extracted resolver keeps the explicit selection and both extension metadata keys.
Labels: P1 settle before this is merged, P2 can follow, Non-blocking optional.
Generated by Claude Code
Background
Geometry column selection can be tested from the Arrow schema alone.
Change List
Verified lint and Node tests. With loaders.gl beta.12, the three website GeoParquet files return binary WKB columns in Arrow mode. Native Polygon, MultiPolygon, and MultiLineString fixtures received GeoArrow tags but decoded into nested structs with empty coordinate lists.
Note
Low Risk
Low risk refactoring that preserves existing layer behavior and public exports while adding dedicated unit test coverage.
Overview
Extracts GeoArrow geometry column resolution from
GeoArrowLayerinto a standaloneresolveGeoArrowGeometryutility, loosening its input requirement to accept any object containing an ArrowSchema.Adds dedicated unit tests covering schema-only metadata resolution across empty tables, multiple record batches, and invalid or unsupported encoding error paths.
Reviewed by Cursor Bugbot for commit 19d9e67. Bugbot is set up for automated code reviews on this repo. Configure here.