Skip to content

feat: Add feature view versioning support to Hybrid online store - #3

Closed
PragalvaXFREZ wants to merge 1 commit into
masterfrom
feat/hybrid-online-store-versioning
Closed

PragalvaXFREZ wants to merge 1 commit into
masterfrom
feat/hybrid-online-store-versioning

Conversation

@PragalvaXFREZ

Copy link
Copy Markdown
Owner

What this PR does / why we need it:

HybridOnlineStore sends each feature view to a backend chosen by a tag. It already passes the full RepoConfig, including registry.enable_online_feature_view_versioning, to that backend. Versioned writes and reads therefore already go to versioned tables on backends that support them. But the store-level check in OnlineStore.get_online_features rejected every version-qualified ref (for example driver_stats@v2:trips_today) with VersionedOnlineReadNotSupported, because HybridOnlineStore is not in the supported list.

This PR:

  • Overrides _check_versioned_read_support in HybridOnlineStore. Support depends on the routed backend, and the base check runs before the repo config is available.
  • In online_read, runs the routed backend's _check_versioned_read_support for version-qualified refs. Unsupported backends still raise VersionedOnlineReadNotSupported, now naming the backend class.

Which issue(s) this PR fixes:

Fixes feast-dev#6176

Checks

  • I have 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 (sdk/python/tests/unit/infra/online_store/test_hybrid_online_versioning.py): the two support-check tests fail on master and pass with this change. A SQLite-backed round trip checks that v1 and v2 data stay separate.
  • Integration tests
  • Manual tests

Misc

The round-trip test builds a fresh RepoConfig for each call because _prepare_repo_conf mutates the config it receives. That bug is tracked separately in feast-dev#6768 / feast-dev#6769.

Signed-off-by: Pragalva Sapkota <sapkotapragalva@gmail.com>
@PragalvaXFREZ
PragalvaXFREZ force-pushed the feat/hybrid-online-store-versioning branch from 12cdefd to b784336 Compare October 14, 2026 18:17
@PragalvaXFREZ

Copy link
Copy Markdown
Owner Author

Opened upstream as feast-dev#7014.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add feature view versioning support to Hybrid online store

1 participant