| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
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 can coexist in memory. Reuses the shared compute_table_id() from helpers.py for consistency with PostgreSQL and MySQL stores. Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>
| super().__init__( | ||
| f"Versioned feature reads (@v{version}) are not yet supported by {store_name}. " | ||
| f"Currently only SQLite, PostgreSQL, and MySQL support version-qualified feature references. " | ||
| f"Currently only SQLite, PostgreSQL, MySQL, and FAISS support version-qualified feature references. " |
There was a problem hiding this comment.
probbaly in future PRs we should get rid of this, it needs update everytime
Sorry, something went wrong.
There was a problem hiding this comment.
Why?
Sorry, something went wrong.
There was a problem hiding this comment.
to be less prone to error regarding that message being incorrect or outdated as new support being added
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
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):
Which issue(s) this PR fixes
Part of #2728
Checks
Testing Strategy
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.