Repository navigation
refactor(core): separate column selection from preparation - #11071
Merged
Merged
Conversation
[Medium impact] The PR appears safe to merge. SummarySeparates column selection from conversion and exposes selection to layer subclasses.
The previous unnumbered finding about required Arrow types is fixed by the explicit Reviews (6) · Last reviewed commit: "docs(core): clarify resolved column retu..." · Reviewed by Greptile |
chrisgervang
approved these changes
Nov 8, 2026
chrisgervang
left a comment
Collaborator
There was a problem hiding this comment.
Review doc relevance
chrisgervang
approved these changes
Nov 10, 2026
chrisgervang
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed 38489ef; recommend approval. No P1s.
LayerColumns picks the same sources as master, and the Layer signature no longer names Arrow types. The column node tests pass at this head.
Labels: P1 settle before this is merged, P2 can follow, Non-blocking optional.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For #11069
Background
Separate explicit column selection from conversion so layer subclasses can select declared inputs without uploading data or changing ownership. Existing accessor and binary fallbacks are preserved.
Change List
resolveColumnsfor declared public inputs, excluding internal shader inputs.Layermethod with an Arrow-independent declaration signature.LayerColumnsconversion and fallbacks.The application guide remains unchanged: Column layouts and Mixed inputs already explain the relevant usage.
Validation
yarn lintand core declaration generation pass.Layer.d.ts: no resolver import or Arrow converter types in the new signature.Note
Low Risk
Low-risk refactor extracting column resolution logic into a standalone utility and protected Layer method with accompanying unit tests.
Overview
Extracts explicit column input selection into a new
resolveColumnsutility and exposes it through a protected method onLayer. This allows layer subclasses to query declared column props without triggering GPU data conversions or altering ownership.In addition,
LayerColumnsnow delegates its input resolution and fallback checks toresolveColumns, keeping internal shader inputs and undefined props excluded from column preparation.Reviewed by Cursor Bugbot for commit e4ad38c. Bugbot is set up for automated code reviews on this repo. Configure here.