Title: sampled scalar value verification failure for 0 value if float is defined · Issue #3400 · feast-dev/feast · GitHub
Open Graph Title: sampled scalar value verification failure for 0 value if float is defined · Issue #3400 · feast-dev/feast
X Title: sampled scalar value verification failure for 0 value if float is defined · Issue #3400 · feast-dev/feast
Description: Expected Behavior Regardless of whether it is 0 or 0.0, conversion for int and float types must be performed. Current Behavior It is defined as a float type, but if 0 is set other than 0.0, an assert fail occurs. Steps to reproduce If 0 ...
Open Graph Description: Expected Behavior Regardless of whether it is 0 or 0.0, conversion for int and float types must be performed. Current Behavior It is defined as a float type, but if 0 is set other than 0.0, an asse...
X Description: Expected Behavior Regardless of whether it is 0 or 0.0, conversion for int and float types must be performed. Current Behavior It is defined as a float type, but if 0 is set other than 0.0, an asse...
Opengraph URL: https://github.com/feast-dev/feast/issues/3400
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sampled scalar value verification failure for 0 value if float is defined","articleBody":"## Expected Behavior \r\nRegardless of whether it is 0 or 0.0, conversion for int and float types must be performed.\r\n\r\n## Current Behavior\r\nIt is defined as a float type, but if 0 is set other than 0.0, an [assert](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/type_map.py#L405) fail occurs.\r\n\r\n## Steps to reproduce\r\nIf 0 is set in the BigQuery table that owns the float type, it may be recognized as an int when materializing using the feast sdk.\r\n\r\n### Specifications\r\n\r\n- Version: 0.27.1\r\n- Platform: regardless\r\n- Subsystem: regardless\r\n\r\n## Possible Solution\r\nIf the value is set to 0, the assertion is modified so that it is not related to int or float.","author":{"url":"https://github.com/kysersozelee","@type":"Person","name":"kysersozelee"},"datePublished":"2022-12-19T09:15:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3400/feast/issues/3400"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d697ba56-fe6d-262d-c562-72daa6eee790 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F6C:20289:1C7624:28518F:69789612 |
| html-safe-nonce | 8550dae3f9e435da8af03936b4683e5f8a10adf36cfee5bc11959948fae8aec0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjZDOjIwMjg5OjFDNzYyNDoyODUxOEY6Njk3ODk2MTIiLCJ2aXNpdG9yX2lkIjoiNzA0NTYyMzEwOTAwNDA3MjQ2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e6311b2756615bb922b8b7a4421a55fb3a4d359420d56152b5f0558e29a3ef1d |
| hovercard-subject-tag | issue:1502581718 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/3400/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e591aac610c27a0fd0b324c79be924c8e96c86ba07d09a198ed744a241f7a9c9/feast-dev/feast/issues/3400 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e591aac610c27a0fd0b324c79be924c8e96c86ba07d09a198ed744a241f7a9c9/feast-dev/feast/issues/3400 |
| og:image:alt | Expected Behavior Regardless of whether it is 0 or 0.0, conversion for int and float types must be performed. Current Behavior It is defined as a float type, but if 0 is set other than 0.0, an asse... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kysersozelee |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14920c7cb7d7c207b5e72684d0e6f23b65b849b3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width