fix: Remote Online Store Type Inference Error with All-NULL Columns#6063
Merged
ntkathole merged 2 commits intofeast-dev:masterfrom Apr 12, 2026
Merged
Conversation
Contributor
Author
|
小军已收到
|
yuan1j
commented
Mar 11, 2026
Contributor
Author
yuan1j
left a comment
There was a problem hiding this comment.
Thank you for your helpful advice. This solution works for my case as well. Could you please review and approve the merge?
Contributor
Author
|
小军已收到
|
9eb84cd to
cdcbc6a
Compare
75cc31c to
e859233
Compare
jyejare
approved these changes
Apr 7, 2026
Signed-off-by: yuanjun220 <1069645408@qq.com>
f45e8c0 to
ec4282c
Compare
Contributor
Author
|
How can I merge these changes into the master branch? |
ntkathole
approved these changes
Apr 12, 2026
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.
What this PR does / why we need it
📋 Problem Description
When reading features from a Feast Remote Online Store, a
TypeErroris raised if an entire feature column contains onlyNULL/NaNvalues. The error occurs in thepython_values_to_proto_values()function when it cannot infer the value type from empty data.🔍 Root Cause Analysis
feast/type_map.py-python_values_to_proto_values()functionNULL/NaNvaluesUNKNOWNvalue typeTypeError: Couldn't infer value type from empty value📊 Test Data Example
💡 Solution
Modify the type inference logic to handle
UNKNOWNvalue types gracefully:Key Changes
UNKNOWNCode Change Summary
✨ Expected Behavior
After this fix:
Which issue(s) this PR fixes
Fixes: Remote Online Store Type Inference Error with All-NULL Columns
Related Error:
Misc
🧪 Testing
Manual Test Steps
Configuration Used
📝 Additional Notes
feast/type_map.py,feast/infra/online_stores/remote.py👥 Reviewers
✅ Checklist