-
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
Respect specified ValueTypes for features during materialization #1906
Respect specified ValueTypes for features during materialization #1906
Conversation
Hi @Agent007. Thanks for your PR. I'm waiting for a feast-dev member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind bug |
@judahrand , you may be interested in this pull request since you've been working on cleaning up type conversions. |
Signed-off-by: Jeff <[email protected]>
Floats were converted to doubles when materialized to the online store. There is a broader bug trend around type conversions and this particular conversion utility function looks like it could use some cleanup. This commit is a quick fix. Signed-off-by: Jeff <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
@Agent007 I've updated this PR with what I think is a more general fix. Thanks for your contribution! If it looks good after tests, i'll merge it in today. |
Codecov Report
@@ Coverage Diff @@
## master #1906 +/- ##
==========================================
- Coverage 83.05% 82.83% -0.22%
==========================================
Files 96 96
Lines 7317 7360 +43
==========================================
+ Hits 6077 6097 +20
- Misses 1240 1263 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
@achals Thanks! |
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: achals, Agent007 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Float features are erroneously materialized to online stores as doubles. This bug could drastically affect the memory and storage usage of online stores.
Which issue(s) this PR fixes:
Fixes #1904
Does this PR introduce a user-facing change?: