Skip to content

feat(layers): accept Arrow columns in ColumnLayer - #11032

Merged
ibgreen merged 3 commits into
masterfrom
codex/arrow-column-layer
Nov 5, 2026
Merged

ibgreen merged 3 commits into
masterfrom
codex/arrow-column-layer

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Background

ColumnLayer currently accepts accessor and binary inputs. Add value-style Arrow columns using the shared conversion and accessor-fallback path from ScatterplotLayer and ArcLayer.

Change List

  • Add positions, elevations, fillColors, lineColors, and lineWidths
  • Reuse LayerColumns and upstream GPUVectorModel
  • Upload generated geometry with makeGPUVectorGeometry
  • Preserve chunk picking indices and explicit instance limits
  • Unit tests: cover lifecycle, chunk alignment, and geometry replacement
  • Render tests: compare Arrow flat and extruded columns
  • Documentation: describe column inputs and existing limitations

Verified build, lint, website, six Node tests, five WebGL/WebGPU tests, and twenty render tests. Examples and golden images unchanged.


Note

Medium Risk
Introduces Arrow column buffer management and shader uniform changes to ColumnLayer, though risk is mitigated by scoping behavior to explicit column props while preserving standard accessor fallback paths.

Overview
Adds Apache Arrow vector input support to ColumnLayer (and GridCellLayer), enabling columnar props (positions, elevations, fillColors, lineColors, and lineWidths) to bypass accessor generation and avoid per-feature JavaScript object allocations.

Integrates with LayerColumns and GPUVectorModel to handle asynchronous data conversion, mesh geometry replacement, and chunk-aligned draws. Also introduces a rowIndexOffset uniform to GLSL and WGSL shaders to preserve picking indices across chunked vector batches, accompanied by lifecycle, WebGL/WebGPU, and render tests.

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

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-04T20:24:00.976245Z
We couldn’t complete this review. Comment @codex review to try again.
6bcf3fc 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 4, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new actionable issues were found.

Summary

Adds Arrow columns to ColumnLayer and GridCellLayer, with shared conversion, accessor fallbacks, chunked draws, and buffer cleanup.

  • ColumnLayer accepts Arrow vectors for column positions and styling.
  • Arrow column chunks keep picking tied to their original rows.

Reviews (3) · Last reviewed commit: "docs: clarify ColumnLayer Arrow props an..." · Reviewed by Greptile

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

@coveralls

coveralls commented Nov 4, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 84.844% (+0.03%) from 84.815% — codex/arrow-column-layer into master

@chrisgervang chrisgervang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved pending comments addressed

@ibgreen
ibgreen merged commit cb10dff into master Nov 5, 2026
9 checks passed
@ibgreen
ibgreen deleted the codex/arrow-column-layer branch November 5, 2026 01:36
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.

3 participants