Title: Shadow entities mapped properly to real entity with entity aliasing · Issue #1762 · feast-dev/feast · GitHub
Open Graph Title: Shadow entities mapped properly to real entity with entity aliasing · Issue #1762 · feast-dev/feast
X Title: Shadow entities mapped properly to real entity with entity aliasing · Issue #1762 · feast-dev/feast
Description: 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, "sp...
Open Graph Description: 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 ...
X Description: 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 ...
Opengraph URL: https://github.com/feast-dev/feast/issues/1762
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Shadow entities mapped properly to real entity with entity aliasing","articleBody":"**Is your feature request related to a problem? Please describe.**\r\n\r\nThere 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\". \r\n\r\nIn 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\". \r\n\r\n**Describe the solution you'd like**\r\nA clear and concise description of what you want to happen.\r\n\r\nVia aliasing on the FeatureServices level, the shadow entities can be mapped to the correct FeatureView entity. \r\n\r\n```python\r\nabuse_feature_service = FeatureService(\r\n name=\"my_abuse_model_v1\",\r\n features=[\r\n spammer_features,\r\n reporter_features,\r\n user_features.alias({'spammer_id', 'reporter_id'})\r\n ],\r\n)\r\n```","author":{"url":"https://github.com/mavysavydav","@type":"Person","name":"mavysavydav"},"datePublished":"2021-08-06T03:18:37Z","url":"https://github.com/feast-dev/feast/issues/1762"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:2a97eebb-4b56-b719-f026-52af64e9034a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 81E6:3A195B:882249:B73173:6AFEB194 |
| html-safe-nonce | c541e4f2238a10b29afc5cb6e6ce09d714a52ef5a9f54fc9243b515a1aa108f7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUU2OjNBMTk1Qjo4ODIyNDk6QjczMTczOjZBRkVCMTk0IiwidmlzaXRvcl9pZCI6Ijc4Nzk2ODQzNTYwOTA4MDI1ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ae3cbd409561bd18c6e21aa3859297bd1960363c14a94d5286d8b8646bf72eb7 |
| hovercard-subject-tag | issue:962359359 |
| 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/1762/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cc2c9101cc7b98230addbef6b502b639fa17fcd67cfab7d9fdbd7b39f1d9ff15/feast-dev/feast/issues/1762 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cc2c9101cc7b98230addbef6b502b639fa17fcd67cfab7d9fdbd7b39f1d9ff15/feast-dev/feast/issues/1762 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mavysavydav |
| hostname | github.com |
| expected-hostname | github.com |
| None | 95b2753c978240785d6cca00783c00a371b2d7d9879bb32e305170a1b19bd28e |
| 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 | 3f25273206cd841171bca0002261ae4c9757d934 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width