Title: feat: Add feature view versioning support to Snowflake online store by Abhishek8108 · Pull Request #6380 · feast-dev/feast · GitHub
Open Graph Title: feat: Add feature view versioning support to Snowflake online store by Abhishek8108 · Pull Request #6380 · feast-dev/feast
X Title: feat: Add feature view versioning support to Snowflake online store by Abhishek8108 · Pull Request #6380 · feast-dev/feast
Description: Summary Closes #6167 Adds versioned feature view read/write support to the SnowflakeOnlineStore, following the pattern already established in SqliteOnlineStore, MySQLOnlineStore, PostgreSQLOnlineStore, DynamoDBOnlineStore, RedisOnlineStore, and MilvusOnlineStore. What changed snowflake.py Added _snowflake_table_name(project, table, enable_versioning) helper that returns "[online-transient] {project}_{name}" where name gains a _v{N} suffix when enable_online_feature_view_versioning is enabled and the feature view has a non-zero version. All four write/read paths (online_write_batch, online_read, update, teardown) now call this helper instead of hardcoding f"[online-transient] {config.project}_{table.name}". online_store.py Added SnowflakeOnlineStore to the supported-types list in _check_versioned_read_support, so versioned reads no longer raise VersionedOnlineReadNotSupported. New test file tests/unit/infra/online_store/test_snowflake_versioning.py — 10 unit tests covering: no versioning, versioning disabled with a version set, versioning enabled with no version, version number suffix, version zero (no suffix), projection tag priority, projection tag zero, two different versions produce different names, and _check_versioned_read_support with/without a version tag. Uses module-level stubs for cryptography, snowflake.connector, and tenacity so the tests run without the optional feast[snowflake] extras. Reference Reference implementation: sdk/python/feast/infra/online_stores/sqlite.py Linked issue: #6167 (part of #2728) Test plan python -m pytest sdk/python/tests/unit/infra/online_store/test_snowflake_versioning.py — 10/10 passed locally ruff format --check and ruff check — clean on all modified files Existing Snowflake table name behaviour is unchanged when enable_online_feature_view_versioning = False (the default)
Open Graph Description: Summary Closes #6167 Adds versioned feature view read/write support to the SnowflakeOnlineStore, following the pattern already established in SqliteOnlineStore, MySQLOnlineStore, PostgreSQLOnlineSt...
X Description: Summary Closes #6167 Adds versioned feature view read/write support to the SnowflakeOnlineStore, following the pattern already established in SqliteOnlineStore, MySQLOnlineStore, PostgreSQLOnlineSt...
Opengraph URL: https://github.com/feast-dev/feast/pull/6380
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:63ee5c9d-b782-1b1d-250a-ee1218b6f888 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C3F6:8F52B:24AB1E4:32737F4:6A4EEBD0 |
| html-safe-nonce | cb0013e1d759a88260f21dc71864d7a2d103f1ce01850a9efb1a683222eeb457 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0Y2OjhGNTJCOjI0QUIxRTQ6MzI3MzdGNDo2QTRFRUJEMCIsInZpc2l0b3JfaWQiOiI4MjEzNTA1ODQwMTQyODA1OTY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7bc2f6fedd35cfe3e9d22b4a19b3600f7f988a2b31a342a5aeba74f925ce10f3 |
| hovercard-subject-tag | pull_request:3645157505 |
| 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/6380/files |
| twitter:image | https://avatars.githubusercontent.com/u/87538407?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/87538407?s=400&v=4 |
| og:image:alt | Summary Closes #6167 Adds versioned feature view read/write support to the SnowflakeOnlineStore, following the pattern already established in SqliteOnlineStore, MySQLOnlineStore, PostgreSQLOnlineSt... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d12176b31601daf8d3de9a378cbbcf7dac6f33d990d1faedcb9c9b9ff3cbb1ed |
| 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 | 9420180b23897f48b04b8d47ee8b1a9341197b64 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width