-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: Support nested collection types (Array/Set of Array/Set) (#5947) #6132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
franciscojavierarceo
merged 10 commits into
feast-dev:master
from
soooojinlee:feat/support-nested-collection-types
Apr 2, 2026
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
5425a92
feat: Support nested collection types (Array/Set of Array/Set) (#5947)
soooojinlee 734aee6
fix: Fix remote online read for nested collection types and add docs
soooojinlee e57ddd2
fix: Fix JSON deserialization, schema inference, and silent fallback …
soooojinlee 36fdf4e
fix: Fix mypy type error in nested collection proto construction
soooojinlee 3c81d5e
fix: Fix equality comparison for nested types and JSON deserializatio…
soooojinlee 4dabd1b
feat: Remove depth limit for nested collection types and improve test…
soooojinlee fd0d745
refactor: Replace combinatorial nested collection enums with recursiv…
soooojinlee 89379fc
fix: Preserve inner element types in PyArrow schema inference and opt…
soooojinlee a4dde0f
fix: Add np.ndarray support in nested collection proto conversion and…
soooojinlee 646b6bc
Merge branch 'master' into feat/support-nested-collection-types
franciscojavierarceo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Add np.ndarray support in nested collection proto conversion and…
… clarify placeholder pyarrow type - Add np.ndarray to isinstance check in _convert_nested_collection_to_proto to fix KeyError for 3+ level nesting during materialization (PyArrow produces np.ndarray, not Python list) - Add comment clarifying VALUE_LIST/VALUE_SET placeholder in feast_value_type_to_pa Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: soojin <soojin@dable.io>
- Loading branch information
commit a4dde0f81f79681ad8d41fe5a068b12ea7deb724
There are no files selected for viewing
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡
feast_value_type_to_pareturns hardcodedlist(list(string))for all VALUE_LIST/VALUE_SET regardless of actual inner typeThe
feast_value_type_to_pamapping atsdk/python/feast/type_map.py:1671-1672hardcodespyarrow.list_(pyarrow.list_(pyarrow.string()))for bothVALUE_LISTandVALUE_SET. This means any caller that usesfeast_value_type_to_pato build a PyArrow schema for nested collections (e.g.,Array(Array(Int32))) would getlist<list<string>>instead oflist<list<int32>>. Whileget_pyarrow_schema_from_batch_sourceinoffline_utils.py:287-288has special handling to avoid this, other potential callers would silently get the wrong type. The correct type-aware conversion exists infrom_feast_to_pyarrow_type(sdk/python/feast/types.py:375-376), but that function takes aFeastType, not aValueType. This inconsistency could cause silent data corruption if any code path relies onfeast_value_type_to_pafor nested types without the special-case override.Was this helpful? React with 👍 or 👎 to provide feedback.