-
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
Shadow entities mapped properly to real entity with entity aliasing #1762
Comments
@mavysavydav happy to stab out a quick proposal for you here, but I am a bit confused by what is contained within each of these feature views and their source tables. What is the union of join keys in this feature service? Why would aliasing If you could show me basic examples of what these tables look like using https://ozh.github.io/ascii-tables/ then it would really help a lot! |
So what I meant by |
the exact API we probably need to rev on, but having this kind of functionality makes sense to me. Couple thoughts (think this is def worth writing an RFC for though):
|
appreciate the thoughts. We were considering the approach of just having a bunch of FV copies but were concerned this would pollute the registry space. And regarding bullet point 1, the final feature vector would look like that but spammer_features and spammer_user_features don't need to be grouped together in some particular way right? Each would have it's own column just like any other features coming from any feature views. Here's the RFC that i'm in the process of putting together - https://docs.google.com/document/d/1TsCwKf3nVXTAfL0f8i26jnCgHA3bRd4dKQ8QdM87vIA/edit# |
Is your feature request related to a problem? Please describe.
There may be multiple different entity keys on the entity source data side that should map onto the same entity from the feature data table during the join. For instance, "spammer_id" and "reporter_id" may want the "years_on_platform" feature which lives in a table keyed by "user_id". It is inconvenient to combine the "spammer_ids" and "reporter_ids" into a new additional "user_ids" column and then clean it up after the join. In this case, we can call "spammer" and "reporter" the shadow entities of "user".
In another example, both "rider_id" and "driver_id" may want the "age" feature which lives in a table keyed by "user_id". In this case, we can call "rider" and "driver" the shadow entities of "user".
Describe the solution you'd like
A clear and concise description of what you want to happen.
Via aliasing on the FeatureServices level, the shadow entities can be mapped to the correct FeatureView entity.
The text was updated successfully, but these errors were encountered: