René's URL Explorer Experiment


Title: Enforce unique feature view names across all feature view types during apply · Issue #5995 · feast-dev/feast · GitHub

Open Graph Title: Enforce unique feature view names across all feature view types during apply · Issue #5995 · feast-dev/feast

X Title: Enforce unique feature view names across all feature view types during apply · Issue #5995 · feast-dev/feast

Description: Problem In the Feast Python SDK, get_online_features resolves feature view names through _get_any_feature_view, which checks the registry tables in a fixed order: Regular FeatureView OnDemandFeatureView StreamFeatureView This means if a ...

Open Graph Description: Problem In the Feast Python SDK, get_online_features resolves feature view names through _get_any_feature_view, which checks the registry tables in a fixed order: Regular FeatureView OnDemandFeatur...

X Description: Problem In the Feast Python SDK, get_online_features resolves feature view names through _get_any_feature_view, which checks the registry tables in a fixed order: Regular FeatureView OnDemandFeatur...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enforce unique feature view names across all feature view types during apply","articleBody":"## Problem\n\nIn the Feast Python SDK, `get_online_features` resolves feature view names through `_get_any_feature_view`, which checks the registry tables in a fixed order:\n\n1. Regular `FeatureView`\n2. `OnDemandFeatureView`\n3. `StreamFeatureView`\n\nThis means if a project registers both a regular `FeatureView` and a `StreamFeatureView` (or `OnDemandFeatureView`) sharing the same name, `get_online_features` will always return the regular feature view — even if the stream view is the one producing the freshest data.\n\n### Relevant code\n\n**`SqlRegistry._get_any_feature_view`** ([sql.py#L374-L409](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/registry/sql.py#L374-L409)):\n```python\ndef _get_any_feature_view(self, name: str, project: str) -\u003e BaseFeatureView:\n    fv = self._get_object(table=feature_views, ...)\n    if not fv:\n        fv = self._get_object(table=on_demand_feature_views, ...)\n    if not fv:\n        fv = self._get_object(table=stream_feature_views, ...)\n    return fv\n```\n\n**`proto_registry_utils.get_any_feature_view`** follows the same fixed-order pattern for the cached registry path.\n\n### Same pattern in `FeatureStore.apply`\n\nDuring `apply`, the different feature view types are separated into independent lists (`views_to_update`, `sfvs_to_update`, `odfvs_to_update`) and applied independently — there is no cross-type uniqueness check on names.\n\n## Expected Behavior\n\n`feast apply` should **fail with a clear error** if a feature view name collides across different feature view types (e.g., a `FeatureView` and a `StreamFeatureView` sharing the same name). This would prevent silent, hard-to-debug issues at serving time.\n\n## Proposed Solution\n\nAdd a validation step in `FeatureStore.apply()` (or `_validate_feature_views`) that collects all feature view names across `FeatureView`, `OnDemandFeatureView`, and `StreamFeatureView`, and raises a `ValueError` if any duplicates are found.\n\n### Implementation guidance\n\n1. **Where to add the check**: In `FeatureStore.apply()` ([feature_store.py#L770](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/feature_store.py#L770)), after the objects are separated into `views_to_update`, `sfvs_to_update`, and `odfvs_to_update` (around line 849), add a cross-type name uniqueness validation.\n\n2. **What the check should do**:\n   - Collect all names from `views_to_update`, `sfvs_to_update`, and `odfvs_to_update`\n   - Detect any duplicate names across these lists\n   - Raise a clear `ValueError` listing the duplicated name(s) and which types collide\n\n3. **Alternatively or additionally**, the `_validate_feature_views` method ([feature_store.py#L560-L579](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/feature_store.py#L560-L579)) could be extended to include this cross-type check.\n\n4. **Tests**: Add unit tests that verify `apply` raises an error when feature views of different types share the same name.\n\n## References\n\n- Discussed in Feast Slack #feast-beginners: [thread](https://feastopensource.slack.com/archives/C01MSKCMB37/p1770637394216179)","author":{"url":"https://github.com/devin-ai-integration[bot]","@type":"Person","name":"devin-ai-integration[bot]"},"datePublished":"2026-02-20T05:24:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5995/feast/issues/5995"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:03a41c6a-6f0e-47ce-8f0e-25848325b416
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8AB4:162B2:2C6E1F3:3D7992E:6A4F0FED
html-safe-nonceb2883956712ebcca3d91cc1ac946e885ede67352204a2bb234e79707dcaecc9e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUI0OjE2MkIyOjJDNkUxRjM6M0Q3OTkyRTo2QTRGMEZFRCIsInZpc2l0b3JfaWQiOiI3MDcyMzcwODgxMTQyMzk0ODYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccbf797285c74fff4ed4dd0d5e8b83fdd91bd11aaca7b63670e6eb9f6d1a3a799
hovercard-subject-tagissue:3966672707
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/5995/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cbc2fdf8c4797127528646eb9938eccfa9163847167dabc9e6bd2d9d748a7913/feast-dev/feast/issues/5995
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cbc2fdf8c4797127528646eb9938eccfa9163847167dabc9e6bd2d9d748a7913/feast-dev/feast/issues/5995
og:image:altProblem In the Feast Python SDK, get_online_features resolves feature view names through _get_any_feature_view, which checks the registry tables in a fixed order: Regular FeatureView OnDemandFeatur...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedevin-ai-integration[bot]
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/5995#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F5995
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F5995
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/5995
Reloadhttps://github.com/feast-dev/feast/issues/5995
Reloadhttps://github.com/feast-dev/feast/issues/5995
Please reload this pagehttps://github.com/feast-dev/feast/issues/5995
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.4k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 7.1k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 212 https://github.com/feast-dev/feast/issues
Pull requests 171 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality 1 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 and quality https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
#5999https://github.com/feast-dev/feast/pull/5999
Enforce unique feature view names across all feature view types during applyhttps://github.com/feast-dev/feast/issues/5995#top
#5999https://github.com/feast-dev/feast/pull/5999
https://github.com/apps/devin-ai-integration
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
on Feb 20, 2026https://github.com/feast-dev/feast/issues/5995#issue-3966672707
sql.py#L374-L409https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/registry/sql.py#L374-L409
feature_store.py#L770https://github.com/feast-dev/feast/blob/master/sdk/python/feast/feature_store.py#L770
feature_store.py#L560-L579https://github.com/feast-dev/feast/blob/master/sdk/python/feast/feature_store.py#L560-L579
threadhttps://feastopensource.slack.com/archives/C01MSKCMB37/p1770637394216179
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.