Title: feat: Add feature view versioning support to PostgreSQL and MySQL online stores by YassinNouh21 · Pull Request #6193 · feast-dev/feast · GitHub
Open Graph Title: feat: Add feature view versioning support to PostgreSQL and MySQL online stores by YassinNouh21 · Pull Request #6193 · feast-dev/feast
X Title: feat: Add feature view versioning support to PostgreSQL and MySQL online stores by YassinNouh21 · Pull Request #6193 · feast-dev/feast
Description: Summary Added versioned read/write support to PostgreSQL and MySQL online stores, following the SQLite reference implementation pattern from #6101 When enable_online_feature_view_versioning is enabled, data is routed to version-specific tables (e.g., project_driver_stats_v2) Registered both stores in _check_versioned_read_support() so version-qualified feature references (driver_stats@v2:trips_today) work correctly Changes PostgreSQL (postgres.py): Updated _table_id() to accept enable_versioning parameter with version suffix logic Updated all 6 callers: online_write_batch, _construct_query_and_params, update, teardown, retrieve_online_documents, retrieve_online_documents_v2 MySQL (mysql.py): Updated _table_id() with same versioning pattern Threaded enable_versioning through _execute_batch(), write_to_table(), and _drop_table_and_index() Updated online_read, update, and teardown callers Shared (online_store.py, errors.py): Added PostgreSQLOnlineStore and MySQLOnlineStore to _check_versioned_read_support() allowlist Updated VersionedOnlineReadNotSupported error message Test plan 7 unit tests for PostgreSQL _table_id (no version, disabled, enabled, v0, version_tag priority) 7 unit tests for MySQL _table_id (same coverage) 5 unit tests for _check_versioned_read_support (PostgreSQL/MySQL/SQLite allowed, unsupported raises, no tag no error) 4 PostgreSQL e2e tests with real database (testcontainers): write/read without versioning, with v1, version isolation, teardown 4 MySQL e2e tests with real database (testcontainers): same coverage 27/27 tests passing, all lint checks pass Closes #6168 Closes #6169 Part of #2728
Open Graph Description: Summary Added versioned read/write support to PostgreSQL and MySQL online stores, following the SQLite reference implementation pattern from #6101 When enable_online_feature_view_versioning is ena...
X Description: Summary Added versioned read/write support to PostgreSQL and MySQL online stores, following the SQLite reference implementation pattern from #6101 When enable_online_feature_view_versioning is ena...
Opengraph URL: https://github.com/feast-dev/feast/pull/6193
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3d767519-3a0a-3d1d-2471-bf7cf3c2fa19 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8AA8:AC122:9C12B6:D259AA:6A4D72AF |
| html-safe-nonce | 20d9a02b4dcc2c98ed413793af6b28fb89f7572a83ac0d4a8d79c9b7cf9ce327 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUE4OkFDMTIyOjlDMTJCNjpEMjU5QUE6NkE0RDcyQUYiLCJ2aXNpdG9yX2lkIjoiMjgzMTU2NzgwODU1NDE2OTAwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 175462f03784d6f33f43c4b114499f3dc927ff2758c8e65c571a7c32f4d6b90e |
| hovercard-subject-tag | pull_request:3462445251 |
| 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/6193/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 Added versioned read/write support to PostgreSQL and MySQL online stores, following the SQLite reference implementation pattern from #6101 When enable_online_feature_view_versioning is ena... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| 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 | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width