Skip to content

feat(core): extend SQL accessors and simplify v10 example transforms - #11142

Merged
ibgreen merged 4 commits into
masterfrom
codex/synchronous-data-load
Nov 16, 2026
Merged

ibgreen merged 4 commits into
masterfrom
codex/synchronous-data-load

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Background

V10 examples prepare Arrow columns outside the layer loading lifecycle and use removed loader options. Layer transforms and SQL accessors simplify preparation, and native Arrow defaults restore streaming.

Change List

  • Add Deck and layer SQL function declarations
  • Supply default list and struct extraction functions
  • Notify onDataLoad for transformed synchronous data
  • Simplify Line, Radio, Scenegraph, and Icon data preparation
  • Mark Line ready in the sidebar
  • Replace obsolete loader options with native Arrow defaults
  • Pace point-cloud batches at 50,000 rows per second
  • Verify 67 core Node tests, lint, builds, website
  • Verify native LAS batches arrive 500 ms apart
  • Documentation

Note

Low Risk
Changes are additive extensions to SQL accessor evaluation and async prop resolution with comprehensive unit test coverage.

Overview
Adds support for custom and built-in SQL functions in Arrow accessor expressions, and invokes onDataLoad for synchronous data inputs.

Deck and Layer now accept a sqlFunctions prop to supply or override math.gl Arrow functions available to SQL accessors. Built-in support is also added for LIST_EXTRACT and STRUCT_EXTRACT, enabling SQL accessors to extract values from nested Arrow list and struct columns without requiring manual preprocessing.

Additionally, ComponentState now invokes onDataLoad after resolving and transforming synchronous data inputs. Several v10 website examples are simplified to rely directly on layer dataTransform and nested SQL accessors instead of external data-shaping logic.

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

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-16T01:48:02.746711Z
We couldn’t complete this review. Comment @codex review to try again.
738820c PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] No established blocking issue remains in this PR.

Summary

Adds shared and per-layer SQL functions, nested Arrow extraction, and onDataLoad callbacks for direct data. Moves example conversions into layer transforms.

  • SQL accessors can read nested Arrow fields and use custom functions.
  • New data reaches onDataLoad after its transform finishes.
  • V10 examples keep nested data and shape rows inside their layers.
  • Other v10 examples use updated loader settings and SQL formatting.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Layer data] --> B[Load or resolve]
  B --> C[Query and transform]
  C --> D[onDataLoad]
  C --> E[SQL accessors]
  F[Deck functions] --> E
  G[Layer function overrides] --> E
  E --> H[Arrow columns]
  H --> I[Draw and pick]
Loading

Reviews (3) · Last reviewed commit: "fix(examples): use native Arrow defaults..." · Reviewed by Greptile

Comment thread examples-v10/website/scenegraph/app.tsx 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 examples-v10/website/line/app.tsx Resolved
@coveralls

coveralls commented Nov 16, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 83.514% (-0.01%) from 83.527% — codex/synchronous-data-load into master

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 83.514% (-0.01%) from 83.527% — codex/synchronous-data-load into master

@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 b16fdbe. Configure here.

@ibgreen
ibgreen merged commit eabcff3 into master Nov 16, 2026
9 checks passed
@ibgreen
ibgreen deleted the codex/synchronous-data-load branch November 16, 2026 02:21
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