-
Notifications
You must be signed in to change notification settings - Fork 996
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
fix: Updating the batch field so that you can query create and event date. #3411
fix: Updating the batch field so that you can query create and event date. #3411
Conversation
902ae5b
to
bfb88c5
Compare
c11fcaa
to
ba2eca4
Compare
c42cc51
to
fcb821a
Compare
@@ -599,6 +599,11 @@ def _normalize_timestamp( | |||
created_timestamp_column_type = df_to_join_types[created_timestamp_column] | |||
|
|||
if not hasattr(timestamp_field_type, "tz") or timestamp_field_type.tz != pytz.UTC: | |||
# if you are querying for the event timestamp field, we have to deduplicate |
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.
not fully sure i understand what these duplicate columns are coming from? Can you leave more comments on why?
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.
yeah i'll update the PR but basically querying for created
in get_online_features
duplicates the created_timestamp_column
. So I could go deeper and try to fix the duplication but I needed a quick fix on my side and it works correctly for us.
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.
@adchia updated the comment 👍
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: adchia, franciscojavierarceo 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 |
* fix: Add assertion condition when value is 0 Signed-off-by: zlatan.el <zlatan.el@kakaomobility.com> * chore: Add comment about zero value validation Signed-off-by: zlatan.el <zlatan.el@kakaomobility.com> * chore: Modifiy the comment Signed-off-by: zlatan.el <zlatan.el@kakaomobility.com> * chore: Add the comment Signed-off-by: zlatan.el <zlatan.el@kakaomobility.com> Signed-off-by: zlatan.el <zlatan.el@kakaomobility.com> Co-authored-by: zlatan.el <zlatan.el@kakaomobility.com> Signed-off-by: franciscojavierarceo <francisco.arceo@affirm.com>
…of a model you can just add it in the get_online_features feature argument Signed-off-by: franciscojavierarceo <francisco.arceo@affirm.com>
Signed-off-by: franciscojavierarceo <francisco.arceo@affirm.com>
df1736f
to
9eba3ea
Compare
sorry @adchia looks like I had to redo the sign off will need another stamp |
/lgtm |
# [0.29.0](v0.28.0...v0.29.0) (2023-01-31) ### Bug Fixes * Add check for bool type in addition to sample ([#3452](#3452)) ([1c7c491](1c7c491)) * Buggy SQL for postgres source ([#3424](#3424)) ([1ea100e](1ea100e)) * Ensure no duplicates in `fv.schema` ([#3460](#3460)) ([08ffa8d](08ffa8d)) * Fix delete sfv twice issue ([#3466](#3466)) ([dfd5eae](dfd5eae)) * Stream feature view UI shows transformation issue ([#3464](#3464)) ([1ef5137](1ef5137)) * Update registry.refresh to have a default arg ([#3450](#3450)) ([2f7c4ed](2f7c4ed)) * Updating the batch field so that you can query create and event date. ([#3411](#3411)) ([01ab462](01ab462)), closes [#3401](#3401) ### Features * Add data source search ([#3449](#3449)) ([fbbb293](fbbb293)) * Adding list_validation_references for default and sql registry ([#3436](#3436)) ([21dd253](21dd253)) * Make UI accessible behind proxy ([#3428](#3428)) ([753d8db](753d8db))
What this PR does / why we need it:
This PR allows users to call
get_online_features
orget_historical_features
with thecreated
orevent_timestamp
fields in thefeatures
function call and return the proper data.Which issue(s) this PR fixes:
Fixes # #3412