GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — fix: Keep an ODFV output that shares its name with a source feature by luc-pimentel · Pull Request #7009 · feast-dev/feast ConversationWhat this PR does / why we need it:Since 0.62.0 (#6140)
0.51.0 through 0.61.0 return the transformed value once in both modes. Two mechanisms. The fix skips the ODFV's own output names in the alias cleanup (all three transform paths) and makes Unrequested source-view features are still returned with the result, as they have been since 0.62.0; that is left as is here and may deserve its own issue. Open PR #6900 touches the same cleanup loop for python-mode full names online and composes with this change. Which issue(s) this PR fixes:Fixes #5534 Checks
Testing Strategy
MiscNew tests in Before and after on the setup above (a parquet with
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsHistorical and online retrieval of an on demand feature view whose output has the same name as a feature of its source view, in pandas and python mode. Fails on master since 0.62.0: the frame carries two columns under that name with default names, and with full_feature_names=True the source value comes back alone. Signed-off-by: luc-pimentel <[email protected]> Since feast-dev#6140 get_historical_features fetches every feature of an on demand feature view's source view, so a source feature named like the ODFV output reaches the retrieval. RetrievalJob.to_arrow then appended the ODFV column next to it, and with full_feature_names=True the alias cleanup in transform_arrow and transform_dict dropped the UDF output because it carried the same short name as the temporary alias. The alias cleanup now skips the ODFV's own output names, and to_arrow replaces a same-named column instead of appending a second one. Online retrieval goes through the same transform methods. Fixes feast-dev#5534 Signed-off-by: luc-pimentel <[email protected]>
luc-pimentel
requested review from
franciscojavierarceo,
haoxu0 and
nquinn408
and removed request for
a team
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. …collision Requesting the source feature and the ODFV output under one default name raises FeatureNameCollisionError before retrieval, offline and online, as before. With full_feature_names=True both come back under their own names; on master the ODFV output is dropped. The ibis transformation path keeps the output under the same collision, exercised through the ibis function without a substrait plan. Signed-off-by: luc-pimentel <[email protected]>
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
4 of 7 tasks
This branch has not been deployedNo deployments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabelsProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. OnDemandFeatureView silently skips transformation if BatchSource defines column with same nameUh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |