Title: feat: Add feature view versioning support to Redis and DynamoDB online stores by YassinNouh21 · Pull Request #6257 · feast-dev/feast · GitHub
Open Graph Title: feat: Add feature view versioning support to Redis and DynamoDB online stores by YassinNouh21 · Pull Request #6257 · feast-dev/feast
X Title: feat: Add feature view versioning support to Redis and DynamoDB online stores by YassinNouh21 · Pull Request #6257 · feast-dev/feast
Description: Summary Redis: Adds _versioned_fv_name() helper that computes versioned feature view names (e.g., driver_stats_v2) used in Redis hash field keys (_ts: prefix and mmh3 feature hashes). This ensures version isolation within the same entity hash key — the Redis key itself (entity-based) does not change, only the hash field namespace. DynamoDB: Modifies _get_table_name() to apply a version suffix before template formatting, so each version gets its own DynamoDB table (e.g., project.driver_stats_v2). Both stores are registered in _check_versioned_read_support() and the error message in errors.py is updated. Follows the established versioning pattern from SQLite (#6101), PostgreSQL/MySQL (#6193). Changes File Change sdk/python/feast/infra/online_stores/redis.py Add _versioned_fv_name(), update delete_table, online_write_batch, online_read, online_read_async, _generate_hset_keys_for_features sdk/python/feast/infra/online_stores/dynamodb.py Modify _get_table_name() to apply version suffix sdk/python/feast/infra/online_stores/online_store.py Add Redis and DynamoDB to _check_versioned_read_support() sdk/python/feast/errors.py Update supported stores list in error message tests/unit/.../test_redis_versioning.py 11 unit tests for _versioned_fv_name, hset key isolation, read support tests/unit/.../test_dynamodb_versioning.py 9 unit tests for _get_table_name with versioning, templates, read support tests/integration/.../test_redis_versioning.py 6 integration tests with real Redis (testcontainers) tests/integration/.../test_dynamodb_versioning.py 6 integration tests with moto mock DynamoDB Test plan 20 unit tests pass (test_redis_versioning.py, test_dynamodb_versioning.py) 6 Redis integration tests pass (real Redis via testcontainers) 6 DynamoDB integration tests pass (moto mock) Version isolation verified: data written under v1 is not returned when reading v2 projection.version_tag correctly routes reads to the right version ruff check and ruff format --check pass on all changed files Closes #6164, closes #6163
Open Graph Description: Summary Redis: Adds _versioned_fv_name() helper that computes versioned feature view names (e.g., driver_stats_v2) used in Redis hash field keys (_ts: prefix and mmh3 feature hashes). This ensures...
X Description: Summary Redis: Adds _versioned_fv_name() helper that computes versioned feature view names (e.g., driver_stats_v2) used in Redis hash field keys (_ts: prefix and mmh3 feature hashes). This ensures...
Opengraph URL: https://github.com/feast-dev/feast/pull/6257
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6bfb15cd-37d3-b6bb-c22b-df96340f9c9e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 820A:E2378:3FC506:5A3BAD:6A4E6BD7 |
| html-safe-nonce | 26e600fb1efdd09f16a1c97c6753b6275404a361797d42ed77b1d585e1b8eddd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjBBOkUyMzc4OjNGQzUwNjo1QTNCQUQ6NkE0RTZCRDciLCJ2aXNpdG9yX2lkIjoiNjUyMDU4NzE5ODQ0NTU0NjQ1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1a26b547ac48c6e31db3492c94fed32f6c2c1149d24daf1116731d24ae0c18ed |
| hovercard-subject-tag | pull_request:3513650370 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6257/files |
| twitter:image | https://avatars.githubusercontent.com/u/70436855?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/70436855?s=400&v=4 |
| og:image:alt | Summary Redis: Adds _versioned_fv_name() helper that computes versioned feature view names (e.g., driver_stats_v2) used in Redis hash field keys (_ts: prefix and mmh3 feature hashes). This ensures... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width