René's URL Explorer Experiment


Title: Entity types as a higher-level concept · Issue #405 · feast-dev/feast · GitHub

Open Graph Title: Entity types as a higher-level concept · Issue #405 · feast-dev/feast

X Title: Entity types as a higher-level concept · Issue #405 · feast-dev/feast

Description: Introduction Currently an entity, or more formally an entity type, is treated as a special type of field within a feature set. There has been an attempt to simplify the creation and management of entities and to keep them consistent with...

Open Graph Description: Introduction Currently an entity, or more formally an entity type, is treated as a special type of field within a feature set. There has been an attempt to simplify the creation and management of e...

X Description: Introduction Currently an entity, or more formally an entity type, is treated as a special type of field within a feature set. There has been an attempt to simplify the creation and management of e...

Opengraph URL: https://github.com/feast-dev/feast/issues/405

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Entity types as a higher-level concept","articleBody":"## Introduction\r\nCurrently an entity, or more formally an entity type, is treated as a special type of field within a feature set. There has been an attempt to simplify the creation and management of entities and to keep them consistent with features, however some challenges exist with our current approach.\r\n\r\nNote: The terms entity and entity type will be used interchangeable in the following issue.\r\n\r\n## How are entities created?\r\n- Users define an entity as part of a feature set. An entity in this case is a field like any other within the feature set. More than one entity can exist within a feature set.\r\n- An entity's name must be unique within a feature set.\r\n- There are no constraints on entities outside of a feature set, either at the project or global level. This means that multiple feature sets can define the same entities again.\r\n\r\n## How are entities used?\r\n- Retrieving feature values: Entities are used as a key for retrieving features. In order to retrieve feature values within a feature set, all entities must be provided as part of the lookup.\r\n- Joining feature sets: In the event that feature values are being retrieved from multiple feature sets, entities are used to look up these feature values. Entities are also used to join across these feature sets to construct a single result set.\r\n\r\n## What is the problem?\r\n1. Discovery: It seems intuitive that users would start their discovery experience from the point of view of an entity type, since their business problem is generally framed around one or more entities. By nesting entities within feature sets and within projects and not providing a discovery means, it makes discovery harder. \r\n2. Consistency: Entities are typically consistent across all projects and systems in most organizations. This consistency is not enforced in Feast at the moment. Users are bound to redefine entities in their local projects if no consistency is enforced at an organizational level. Failure would occur when lookups happen or when joins happen across feature sets, especially when joins need to happen across projects. \r\n3. Key building: If entities and features maintain mutual compatibility in terms of supported data types, then support must be maintained for building keys from all feature value types. This adds a lot of complexity to key building since support must be maintained to serialize complex composite data structures in order to build these keys. \r\n\r\n## Proposals\r\n### 1. Project-level entities\r\nFunctionality\r\n- Entities are created outside of feature sets, but they still reside in a specific project namespace. \r\n- Entities have their own distinct API and supported data types (which may be more limited than features)\r\n- Entities must be unique within a project namespace, but can be duplicated across an organization. Uniqueness is ensured through a full entity reference (`gojek/customer`).\r\n- Entities are still defined as part of a feature set, but this is a selection process instead of creation.\r\n\r\nAdvantages\r\n- Entities receive all the sharing and isolation benefits of \"projects\". Entities would not have to be treated separately from a logical and/or development standpoint. There would also be no explosion of a global entity namespace\r\n- Users are free to experiment and develop within their projects without affecting other users, since duplication is allowed across projects.\r\n- No need for a central team to gate-keep the creation of entities.\r\n\r\nDisadvantages\r\n- By not elevating entities to the global level, end users would be required to know which projects contain the entities they should be referencing. This means an organizational process must exist in order to select these entities.\r\n- Most projects would have to reference entities from another more authoritative project. In fact, it's likely that an organization will have a central project which contains only entities. This could be a little counter-intuitive if a feature set contains fields that are referencing an external project. \r\n\r\n### 2. Global-level entities\r\nFunctionality\r\n- Entities are defined globally for a Feast deployment.\r\n- Entities have their own distinct API and supported data types (which may be more limited than features).\r\n- Entities must be globally unique.\r\n- Entities are still defined as part of a feature set, but this is a selection process instead of creation.\r\n\r\nAdvantages\r\n- Central authoritative listing of entities within an organization.\r\n- Easier to discover which entities should be used, without needing an organizational policy.\r\n- Easy to reason about and easier to understand when referencing an entity within a feature set.\r\n\r\nDisadvantages \r\n- Requires development of separate logic from projects, feature sets, and features. \r\n- Requires a team and process to manage the creation of entities.\r\n- No way to isolate conflicts. If one team wants to use a `float` and another wants to use a `string` for an entity data type, then it would likely result in two entities being created. This would still be the case in the Project-level entity proposal, but at least in that proposal the unorthodox approach (maybe `string`) could be isolated to a specific project.\r\n\r\n### 3. Default project entities\r\nFunctionality\r\n- If a user does not specify a project, then they are automatically located inside of the `default` project. This would be similar to how Kubernetes does namespacing.\r\n- All other functionality would be the same as the `project level entities` proposal, except users don't actually have to create an entity inside of a named project.\r\n- Feature references could be created that allow users to reference entities without a project. So instead of having `my_company/customer`, it would be possible to refer to \"global\" entities by either using `customer` or `default/customer`. \r\n\r\nAdvantages\r\n- All of the advantages of `project-level entities`.\r\n- Most of the advantages of `global-level entities`, except that this default project would still not be a true global namespace. There would still need to be an organizational process that informs users to use the entities in this `project`.\r\n- Simplifies development since `project-level` sharing and isolation can be reused.\r\n\r\nDisadvantages\r\n- Still requires access control on the default namespace.","author":{"url":"https://github.com/woop","@type":"Person","name":"woop"},"datePublished":"2020-01-04T03:30:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/405/feast/issues/405"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cf1ccffb-5c54-2063-e2e8-062e7d95cccf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id89F8:355FA:133FFBA:1B6A057:697A394C
html-safe-noncef794ea533e6ef4a5a7146ca26b89857d63ff78dfd8fdad73bd57f4e37f1921c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUY4OjM1NUZBOjEzM0ZGQkE6MUI2QTA1Nzo2OTdBMzk0QyIsInZpc2l0b3JfaWQiOiI0MTM0OTgxNDU4MjEwNzMyMzY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac226b5c77898d29ba9b32c69c4029fee8d335d22bd87b39a35018e1a98405bfe9
hovercard-subject-tagissue:545235174
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/405/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b88f739d711f1f55fab995c08d5c958f7266aae2f58929aff72ce48c60abbb31/feast-dev/feast/issues/405
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b88f739d711f1f55fab995c08d5c958f7266aae2f58929aff72ce48c60abbb31/feast-dev/feast/issues/405
og:image:altIntroduction Currently an entity, or more formally an entity type, is treated as a special type of field within a feature set. There has been an attempt to simplify the creation and management of e...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewoop
hostnamegithub.com
expected-hostnamegithub.com
Noneaf6de804ceb83ad30bb9b348cdeaccaa30cdcb566762d5e74e21e2bad88885d0
turbo-cache-controlno-preview
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2d980605f0959039ddebcbcf522b072508302977
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/405#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F405
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F405
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/405
Reloadhttps://github.com/feast-dev/feast/issues/405
Reloadhttps://github.com/feast-dev/feast/issues/405
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.2k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 6.7k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 181 https://github.com/feast-dev/feast/issues
Pull requests 69 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security 0 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/405
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/405
#1014https://github.com/feast-dev/feast/pull/1014
Entity types as a higher-level concepthttps://github.com/feast-dev/feast/issues/405#top
#1014https://github.com/feast-dev/feast/pull/1014
https://github.com/thirteen37
https://github.com/davidheryanto
https://github.com/woop
https://github.com/zhilingc
https://github.com/khorshuheng
keep-openhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22keep-open%22
kind/discussionhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fdiscussion%22
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
priority/p1https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp1%22
https://github.com/woop
https://github.com/woop
woophttps://github.com/woop
on Jan 4, 2020https://github.com/feast-dev/feast/issues/405#issue-545235174
davidheryantohttps://github.com/davidheryanto
khorshuhenghttps://github.com/khorshuheng
thirteen37https://github.com/thirteen37
woophttps://github.com/woop
zhilingchttps://github.com/zhilingc
keep-openhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22keep-open%22
kind/discussionhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fdiscussion%22
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
priority/p1https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp1%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.