Skip to content
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

Historical field mappings #2251

Conversation

michelle-rascati-sp
Copy link
Contributor

What this PR does / why we need it:
Uses field mapping to convert feature names into column names, and back to feature names for Redshift and DyanmoDB data sources when calling get_historical_features()

Which issue(s) this PR fixes:

Fixes #2248

Does this PR introduce a user-facing change?:

get_historical_features() should now work with field_mappings

@michelle-rascati-sp michelle-rascati-sp requested a review from a team as a code owner January 27, 2022 21:21
@michelle-rascati-sp michelle-rascati-sp requested review from adchia and removed request for a team January 27, 2022 21:21
@@ -1437,7 +1438,7 @@ def _read_from_online_store(
provider: Provider,
requested_features: List[str],
table: FeatureView,
) -> List[Tuple[List[Timestamp], List["FieldStatus.ValueType"], List[Value]]]:
) -> List[Tuple[List[Timestamp], List[FieldStatusValue], List[Value]]]:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to resolve #2249 but I can revert.

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: michelle-rascati-sp
To complete the pull request process, please assign tsotnet after the PR has been reviewed.
You can assign the PR to them by writing /assign @tsotnet in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@michelle-rascati-sp
Copy link
Contributor Author

Closing for sign-off issues, see: #2252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python SDK get_historical_features does not use field mappings.
3 participants