Skip to content

feat(core): support Arrow data and accessor queries - #11131

Merged
ibgreen merged 3 commits into
masterfrom
codex/arrow-query-props
Nov 15, 2026
Merged

ibgreen merged 3 commits into
masterfrom
codex/arrow-query-props

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Related to #11069

Change List

  • Evaluate query on URLs and Arrow tables
  • Resolve {sql} expressions through opted-in Arrow accessors
  • Expose the optional @deck.gl/core/sql parser
  • Unit tests for direct, promised, and streamed Arrow data
  • Documentation for layer queries and SQL accessors

Verified with yarn lint and 155 Node tests


Note

Medium Risk
Modifies the layer lifecycle and asynchronous prop resolution pipelines to support SQL execution, though all functionality is strictly opt-in.

Overview
Adds support for executing SQL queries on layer datasets and evaluating SQL expressions in Arrow-enabled accessors.

Layers can now accept a query string prop to filter and transform URL or in-memory Apache Arrow table data via loaders.gl before rendering. Additionally, accessors supporting Arrow columns now accept {sql: string} expressions to compute typed columns (such as packed coordinates and colors) directly from the table, including incremental evaluation across appended batches.

A new sqlParser prop on Deck configures SQL query and expression parsing, with @deck.gl/core/sql exported as the default parser implementation using @math.gl/expressions.

Reviewed by Cursor Bugbot for commit 6b7da26. Bugbot is set up for automated code reviews on this repo. Configure here.

@greptile-apps

greptile-apps Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The latest change appears safe to merge and introduces no new actionable issue.

Summary

Adds SQL queries for Arrow tables and URLs, plus SQL expressions for Arrow-enabled accessors.

  • Layer queries run SQL on Arrow data and URL sources.
  • Arrow-enabled accessors can derive columns from SQL expressions.
  • Deck can supply a parser for layer SQL.

All supplied previous threads were unnumbered, so none require numbered finding entries.

Reviews (6) · Last reviewed commit: "Type the default fetch descriptor in the..." · Reviewed by Greptile

Comment thread modules/core/src/lib/layer-manager.ts Resolved

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Comment thread modules/core/src/lib/layer.ts Resolved
Comment thread modules/core/src/lib/layer-manager.ts Resolved
@coveralls

coveralls commented Nov 15, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 83.486% (+0.04%) from 83.444% — codex/arrow-query-props into master

Comment thread modules/core/src/lib/layer.ts Resolved
@ibgreen
ibgreen force-pushed the codex/arrow-query-props branch from 139eafd to 6f94ecc Compare November 15, 2026 16:42
Comment thread modules/core/src/lib/layer-state.ts Resolved

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 6b7da26. Configure here.

Comment thread modules/core/src/lifecycle/component.ts Resolved
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