René's URL Explorer Experiment


Title: feat: Add versioning support for FAISS online store by rpathade · Pull Request #6196 · feast-dev/feast · GitHub

Open Graph Title: feat: Add versioning support for FAISS online store by rpathade · Pull Request #6196 · feast-dev/feast

X Title: feat: Add versioning support for FAISS online store by rpathade · Pull Request #6196 · feast-dev/feast

Description: 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 the SQLite online store. 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 SQLite reference implementation: Write path: when enable_online_feature_view_versioning is enabled, _table_id appends a _v{N} suffix to the in-memory key namespace (e.g. project_driver_stats_v2), routing materialization to the correct versioned index Read path: version-qualified lookups (@v2) set projection.version_tag on the feature view before online_read is called; _table_id picks this up and routes to the correct index. projection.version_tag takes priority over current_version_number so explicit version requests are always honoured Multi-table support: replaced single class-level _index/_in_memory_store with per-table _indices/_in_memory_stores dicts, so multiple feature views and versions can coexist in memory simultaneously Gate: _check_versioned_read_support in online_store.py now allows FaissOnlineStore through All existing online_read, online_write_batch, retrieve_online_documents, update, and teardown methods are covered since every method resolves its namespace through _table_id. 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 11 unit tests covering _table_id with versioning disabled, projection.version_tag priority over current_version_number, version 0 edge case, no version info fallback, versioned write/read round trips, namespace isolation between versions, missing index handling, and teardown cleanup. Misc Removed "type" from mock config in tests to match FaissOnlineStoreConfig's strict pydantic validation (no extra fields permitted)

Open Graph Description: 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 the SQ...

X Description: 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 the SQ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:df3cde18-add9-b35d-67c1-983856790cec
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCDCE:306D2B:1108C19:17C8208:6A4E940B
html-safe-nonce06fa9ae3d3eb930dddaa4e3aca6cffdfe1bd705f910f2437095a708c6ce9c4de
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRENFOjMwNkQyQjoxMTA4QzE5OjE3QzgyMDg6NkE0RTk0MEIiLCJ2aXNpdG9yX2lkIjoiNDQzMzM2NjQ3NzA5MzkwMTMyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc642df6e507db1d2da19c107b5bb2719c9bfeced5a65f6b821bf556366702659
hovercard-subject-tagpull_request:3464029457
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/6196/files
twitter:imagehttps://avatars.githubusercontent.com/u/73137503?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/73137503?s=400&v=4
og:image:altWhat 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 the SQ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/6196/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6196%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/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%2Fpull%2F6196%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/6196/files
Reloadhttps://github.com/feast-dev/feast/pull/6196/files
Reloadhttps://github.com/feast-dev/feast/pull/6196/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6196/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 170 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
rpathadehttps://github.com/rpathade
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
rpathade:feat/faiss_online_storehttps://github.com/rpathade/feast/tree/feat/faiss_online_store
Conversation 7 https://github.com/feast-dev/feast/pull/6196
Commits 4 https://github.com/feast-dev/feast/pull/6196/commits
Checks 4 https://github.com/feast-dev/feast/pull/6196/checks
Files changed https://github.com/feast-dev/feast/pull/6196/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6196/files
feat: Add versioning support for FAISS online store https://github.com/feast-dev/feast/pull/6196/files#top
Show all changes 4 commits https://github.com/feast-dev/feast/pull/6196/files
286e5dc Removed unnecessary lazy imports rpathade Mar 30, 2026 https://github.com/feast-dev/feast/pull/6196/commits/286e5dce3e45af9d6cf33d9e9d3c276e28046f14
c38454a Resolve suggestions rpathade Apr 2, 2026 https://github.com/feast-dev/feast/pull/6196/commits/c38454aa153212ce6625ff2f2f2facb33cfa96a3
fe8c270 fix: move mutable class attrs to __init__ in FaissOnlineStore rpathade Apr 2, 2026 https://github.com/feast-dev/feast/pull/6196/commits/fe8c27046b0d462ac926e16992f73ff7616684a3
cbb1088 Resolve error message rpathade Apr 2, 2026 https://github.com/feast-dev/feast/pull/6196/commits/cbb108895a5d47b3d9d5825706e78422b1b915b1
Clear filters https://github.com/feast-dev/feast/pull/6196/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6196/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6196/files
errors.py https://github.com/feast-dev/feast/pull/6196/files#diff-c39381f96c36ead6e0306b9422b8d355996bcc1179bd86ad754201f68184e27a
faiss_online_store.py https://github.com/feast-dev/feast/pull/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
online_store.py https://github.com/feast-dev/feast/pull/6196/files#diff-5ca0c4f03c06d0555b1abff748ac19b61836cacade81c5c670df9cb2704b4021
test_faiss_online_store_versioning.py https://github.com/feast-dev/feast/pull/6196/files#diff-f752c52737f4360363d8f44137910474c38c981cf187ac021a5c20181455c417
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/errors.pyhttps://github.com/feast-dev/feast/pull/6196/files#diff-c39381f96c36ead6e0306b9422b8d355996bcc1179bd86ad754201f68184e27a
View file https://github.com/rpathade/feast/blob/cbb108895a5d47b3d9d5825706e78422b1b915b1/sdk/python/feast/errors.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6196/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6196/files#diff-c39381f96c36ead6e0306b9422b8d355996bcc1179bd86ad754201f68184e27a
https://github.com/feast-dev/feast/pull/6196/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/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
View file https://github.com/rpathade/feast/blob/cbb108895a5d47b3d9d5825706e78422b1b915b1/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/6196/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6196/files#diff-9dd7680ed5e70422f2105f65c326a0f291762aca0fb68c9a9ea0402fd65e12f0
https://github.com/feast-dev/feast/pull/6196/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/6196/files#diff-5ca0c4f03c06d0555b1abff748ac19b61836cacade81c5c670df9cb2704b4021
View file https://github.com/rpathade/feast/blob/cbb108895a5d47b3d9d5825706e78422b1b915b1/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/6196/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6196/files#diff-5ca0c4f03c06d0555b1abff748ac19b61836cacade81c5c670df9cb2704b4021
Please reload this pagehttps://github.com/feast-dev/feast/pull/6196/files
https://github.com/feast-dev/feast/pull/6196/files#diff-5ca0c4f03c06d0555b1abff748ac19b61836cacade81c5c670df9cb2704b4021
Please reload this pagehttps://github.com/feast-dev/feast/pull/6196/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.