feat(list): push element projections through ListLayout via list_get_item - #9725
Closed
radmirnovii wants to merge 3 commits into
Closed
feat(list): push element projections through ListLayout via list_get_item#9725radmirnovii wants to merge 3 commits into
list_get_item#9725radmirnovii wants to merge 3 commits into
Conversation
radmirnovii
force-pushed
the
rad/list-projection
branch
from
September 2, 2026 02:18
124d054 to
47fd3e8
Compare
`list_get_item(field, list)` projects one struct field out of every list element. The list layout reader pushes it into the elements child, so struct-shredded elements skip unprojected fields' segments. Signed-off-by: rad <radmirnovii@gmail.com>
`list_get_item` chains descend nested lists, and the list layout reader pushes the whole chain into the elements child one level at a time. Signed-off-by: rad <radmirnovii@gmail.com>
Signed-off-by: rad <radmirnovii@gmail.com>
Contributor
|
We are in the process of adding higher order functions that will remove all the extra work without needing many new functions |
Contributor
|
If you are interested in contributing to vortex please join the channel and we can chat further! |
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.
Closes #9724.
ListGetItem(vortex.list.get_item): projects one struct field out of every listelement, over List/ListView/FixedSizeList and nested lists.
ListLayoutreader detects alist_get_itemchain overroot(), pushes the equivalentelement projection into the elements child, and rewrites the outer expression against the
narrowed list. Other expression shapes keep the existing read.
filter_evaluationshares the path.Tests: segment-count tests prove unprojected fields are never requested at one and two
nesting levels; results round-trip against in-memory evaluation across ranges, masks, nullability.
Scope: one leaf path per expression (two different fields in one expression fall back to the
full read); IO skipping needs files written with
ListLayoutStrategy::with_elements(StructStrategy),the default writer is unchanged.
Follow-ups: multi-field projection, Python/FFI/DuckDB/DataFusion exposure.
AI assistance: implemented with Claude Code; design, review and testing by me.