-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Materialization Errors for Float and Double Lists #1640
Comments
Thanks for raising this folks. Will schedule for development. |
@woop 👍🏻 It's worth mentioning that empty lists also seem to be problematic with the type map. |
Thanks @karlhigley. We'll need to add a more comprehensive test to get a better idea of our type coverage. |
This seems like a much less obvious/trivial fix. How do you infer a type when you lack any information? I'd be be more than happy to take a look at it if someone has ideas or a suggestion. |
I have fixes for the issues I've encountered, but haven't yet lined up the CLA through my company in order to submit a PR. The gist is that when you convert from Python values to proto values, you can default to the stated feature type if you can't infer a type. That default behavior is currently only applied if the feature value is Making that change also implies that the conversion from Feast value types back to Python types has to change a little bit too, because then sometimes the output of |
@karlhigley Can you provide a test case in which the conversion from Feast back to Python fails? You can look at my PR to find an example of a test for this issue that I added. |
@judahrand The test I'd try would be to round-trip an empty list through the type map for int and float list fields. |
This seems fixed now - at least with the test case provided. Can we close? @woop |
Expected Behavior
1-hot encoded features should be materializeable to the online store without error.
Current Behavior
Version 0.10 apparently introduced a regression where 1-hot encoded feature materialization throws errors.
Steps to reproduce
The above code yields the below error output:
Specifications
The text was updated successfully, but these errors were encountered: