Repository navigation
feat: Add feature view versioning support to Bigtable online store - #7013
Open
PragalvaXFREZ wants to merge 1 commit into
Open
PragalvaXFREZ wants to merge 1 commit into
PragalvaXFREZ wants to merge 1 commit into
Conversation
Signed-off-by: Pragalva Sapkota <sapkotapragalva@gmail.com>
PragalvaXFREZ
requested review from
haoxu0,
nquinn408 and
tokoko
and removed request for
a team
October 14, 2026 18:17
4 of 6 tasks
This was referenced Nov 21, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Adds feature view versioning support to
BigtableOnlineStorewhenregistry.enable_online_feature_view_versioningis enabled.Bigtable rows are keyed as
{entity_id}#{feature_view_name}inside a table shared by all feature views with the same entities. This change usescompute_versioned_namefor the feature view part of the row key inonline_write_batchandonline_read, so each version is stored under its own row key ({entity_id}#{fv_name}_v{N}). Unversioned keys stay the same. Table and column-family management inupdate/teardownworks per entity table, so those methods are unchanged.It also registers
BigtableOnlineStoreinOnlineStore._is_versioned_read_supported().Which issue(s) this PR fixes:
Fixes #6165
Checks
git commit -s)Testing Strategy
sdk/python/tests/unit/infra/online_store/test_bigtable_online_versioning.py: the row-key write/read tests fail onmasterand pass with this change; all 15 pass)Misc
test_bigtable_online_store.py::test_online_write_batch_respects_mutations_per_writealso fails on unmodifiedmaster: concurrent batch ordering gives[5, 2, 5]instead of[5, 5, 2]. This change does not cause it.