René's URL Explorer Experiment


Title: feat: Add feature view versioning support to FAISS online store by YassinNouh21 · Pull Request #6256 · feast-dev/feast · GitHub

Open Graph Title: feat: Add feature view versioning support to FAISS online store by YassinNouh21 · Pull Request #6256 · feast-dev/feast

X Title: feat: Add feature view versioning support to FAISS online store by YassinNouh21 · Pull Request #6256 · feast-dev/feast

Description: Summary When enable_online_feature_view_versioning is enabled, FAISS indices are namespaced by versioned table keys (e.g. project_driver_stats_v2) so multiple feature view versions coexist in memory Refactored singleton _index/_in_memory_store to per-table dictionaries (_indices/_in_memory_stores) Reuses shared compute_table_id() from helpers.py for consistency with PostgreSQL and MySQL stores (#6193) Registered FaissOnlineStore in _check_versioned_read_support() gate What this PR does / why we need it Closes #6173 Feature view versioning was introduced in #6101, but version-qualified feature references (e.g. driver_stats@v2:trips_today) only worked with SQLite, PostgreSQL, and MySQL online stores. All other online stores raised VersionedOnlineReadNotSupported when a versioned ref was used. This PR adds versioned read/write support to the FAISS online store, following the same pattern as the PostgreSQL/MySQL implementation (#6193): Write path: when enable_online_feature_view_versioning is enabled, _table_id appends a _v{N} suffix to the in-memory key namespace, routing materialization to the correct versioned index Read path: version-qualified lookups (@v2) set projection.version_tag on the feature view; _table_id picks this up and routes to the correct index. projection.version_tag takes priority over current_version_number Multi-table support: replaced single class-level _index/_in_memory_store with per-table _indices/_in_memory_stores dicts Gate: _check_versioned_read_support in online_store.py now allows FaissOnlineStore through Which issue(s) this PR fixes Part of #2728 Checks I've made sure the tests are passing. My commits are signed off (git commit -s) My PR title follows conventional commits format Testing Strategy Unit tests Integration tests Manual tests Testing is not required for this change Added 16 unit tests covering _table_id with versioning disabled/enabled, projection.version_tag priority over current_version_number, version 0 edge case, versioned read support gate, versioned write/read round trips, namespace isolation between versions, missing index handling, and teardown cleanup.

Open Graph Description: Summary When enable_online_feature_view_versioning is enabled, FAISS indices are namespaced by versioned table keys (e.g. project_driver_stats_v2) so multiple feature view versions coexist in memo...

X Description: Summary When enable_online_feature_view_versioning is enabled, FAISS indices are namespaced by versioned table keys (e.g. project_driver_stats_v2) so multiple feature view versions coexist in memo...

Opengraph URL: https://github.com/feast-dev/feast/pull/6256

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c68a0cb0-e26f-15d4-d927-7574943ac67e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA12A:3FF092:E182B2:13614A4:6A4DD500
html-safe-nonce33b630293a20d3e28be6cb3264ed81c954b7a0fb2b353a96477a41d812febad2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTJBOjNGRjA5MjpFMTgyQjI6MTM2MTRBNDo2QTRERDUwMCIsInZpc2l0b3JfaWQiOiI4OTY3NTMwOTQ3MTY4NTU2Mjg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8658b95dad4806d6d079497aaccebb84afc462c82e113bb9a012ca97cd5efb38
hovercard-subject-tagpull_request:3513410173
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6256/files
twitter:imagehttps://avatars.githubusercontent.com/u/70436855?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/70436855?s=400&v=4
og:image:altSummary When enable_online_feature_view_versioning is enabled, FAISS indices are namespaced by versioned table keys (e.g. project_driver_stats_v2) so multiple feature view versions coexist in memo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/6256/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6256%2Ffiles
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2Fpull%2F6256%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/6256/files
Reloadhttps://github.com/feast-dev/feast/pull/6256/files
Reloadhttps://github.com/feast-dev/feast/pull/6256/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6256/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
ntkatholehttps://github.com/ntkathole
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
YassinNouh21:feat/faiss-versioninghttps://github.com/YassinNouh21/feast/tree/feat/faiss-versioning
Conversation 4 https://github.com/feast-dev/feast/pull/6256
Commits 1 https://github.com/feast-dev/feast/pull/6256/commits
Checks 36 https://github.com/feast-dev/feast/pull/6256/checks
Files changed https://github.com/feast-dev/feast/pull/6256/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6256/files
feat: Add feature view versioning support to FAISS online store https://github.com/feast-dev/feast/pull/6256/files#top
Show all changes 1 commit https://github.com/feast-dev/feast/pull/6256/files
5123bed feat: Add feature view versioning support to FAISS online store YassinNouh21 Apr 10, 2026 https://github.com/feast-dev/feast/pull/6256/commits/5123bed4762406e6bdc2ab1810d11fff4c2b6896
Clear filters https://github.com/feast-dev/feast/pull/6256/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6256/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6256/files
errors.py https://github.com/feast-dev/feast/pull/6256/files#diff-c39381f96c36ead6e0306b9422b8d355996bcc1179bd86ad754201f68184e27a
faiss_online_store.py https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
online_store.py https://github.com/feast-dev/feast/pull/6256/files#diff-5ca0c4f03c06d0555b1abff748ac19b61836cacade81c5c670df9cb2704b4021
test_faiss_versioning.py https://github.com/feast-dev/feast/pull/6256/files#diff-858536262b00b8460f512f56e484aaae60a511261fc964b07b75a02ff0c1d684
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/errors.pyhttps://github.com/feast-dev/feast/pull/6256/files#diff-c39381f96c36ead6e0306b9422b8d355996bcc1179bd86ad754201f68184e27a
View file https://github.com/YassinNouh21/feast/blob/5123bed4762406e6bdc2ab1810d11fff4c2b6896/sdk/python/feast/errors.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6256/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6256/files#diff-c39381f96c36ead6e0306b9422b8d355996bcc1179bd86ad754201f68184e27a
ntkatholehttps://github.com/ntkathole
Apr 11, 2026https://github.com/feast-dev/feast/pull/6256/files#r3068159126
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/feast-dev/feast/pull/6256/files
YassinNouh21https://github.com/YassinNouh21
Apr 11, 2026https://github.com/feast-dev/feast/pull/6256/files#r3068160538
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/feast-dev/feast/pull/6256/files
ntkatholehttps://github.com/ntkathole
Apr 11, 2026https://github.com/feast-dev/feast/pull/6256/files#r3068182087
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/feast-dev/feast/pull/6256/files
https://github.com/feast-dev/feast/pull/6256/files#diff-c39381f96c36ead6e0306b9422b8d355996bcc1179bd86ad754201f68184e27a
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/online_stores/faiss_online_store.pyhttps://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
View file https://github.com/YassinNouh21/feast/blob/5123bed4762406e6bdc2ab1810d11fff4c2b6896/sdk/python/feast/infra/online_stores/faiss_online_store.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6256/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6256/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L15
sdk/python/feast/infra/online_stores/online_store.pyhttps://github.com/feast-dev/feast/pull/6256/files#diff-5ca0c4f03c06d0555b1abff748ac19b61836cacade81c5c670df9cb2704b4021
View file https://github.com/YassinNouh21/feast/blob/5123bed4762406e6bdc2ab1810d11fff4c2b6896/sdk/python/feast/infra/online_stores/online_store.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6256/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6256/files#diff-5ca0c4f03c06d0555b1abff748ac19b61836cacade81c5c670df9cb2704b4021
https://github.com/feast-dev/feast/pull/6256/files#diff-5ca0c4f03c06d0555b1abff748ac19b61836cacade81c5c670df9cb2704b4021
Please reload this pagehttps://github.com/feast-dev/feast/pull/6256/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6256/files
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.