Skip to content

feat(json) GeoJSON -> geoarrow, schema, logging #3399

Merged
ibgreen-openai merged 8 commits into
masterfrom
ib/arrow-json-loader
May 13, 2026
Merged

feat(json) GeoJSON -> geoarrow, schema, logging #3399
ibgreen-openai merged 8 commits into
masterfrom
ib/arrow-json-loader

Conversation

@ibgreen-openai
Copy link
Copy Markdown
Collaborator

Goals

Extend the existing JSON Arrow table support with schema-aware conversion, recovery logging, and GeoJSON-specific GeoArrow output, while cleaning up the GeoJSON public API.

Changes

  • Replaces the simple JSON row-to-Arrow conversion with schema-aware nested JSON conversion.
  • Adds json.schema / ndjson.schema and strict-by-default arrowConversion recovery policy support.
  • Preserves streaming metadata batches and freezes Arrow schemas on the first non-empty data batch.
  • Adds non-spammy one-time recovery logging through normalized loader logs.
  • Promotes GeoJSON loader/writer exports by removing underscored experimental exports.
  • Moves GeoArrow WKB output to GeoJSONLoader via geojson.shape: 'arrow-table'.
  • Replaces gis.format with geojson.shape, including binary-feature-collection.
  • Moves shared GeoJSON-to-GeoArrow conversion into @loaders.gl/gis; @loaders.gl/geoarrow delegates to it.
  • Adds CRS preservation for GeoJSON-to-GeoArrow conversion.
  • Extends JSONWriter to handle Arrow table inputs.
  • Updates JSON/NDJSON/GeoJSON docs, release notes, and upgrade guide.
  • Adds coverage for schema conversion, recovery policies, logger behavior, streaming schema freeze, GeoArrow metadata/CRS, official exports, and writer Arrow input.

Validation

  • corepack yarn lint fix
  • corepack yarn build
  • corepack yarn test-node
  • corepack yarn test-headless
  • git diff --check

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a98a6815dc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread modules/json/src/lib/parsers/convert-row-table-to-arrow.ts
@ibgreen-openai ibgreen-openai merged commit eabaa24 into master May 13, 2026
10 checks passed
@ibgreen-openai ibgreen-openai deleted the ib/arrow-json-loader branch May 13, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants