Add feature view versioning support to Remote online store

未关闭
#6,180 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@shuvakant6623 已经在做这个了。

开始于 2026年3月27日。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
backend, data

调研方向

阅读 sdk/python/feast/infra/online_stores/sqlite.py,了解现有的版本控制模式,然后检查 sdk/python/feast/infra/online_stores/remote.py 并跟踪其读取和写入路径。确认带版本限定的引用是如何路由的,以及 enable_online_feature_view_versioning 设置是如何处理的。当 Remote 支持版本化读取和写入且不会引发 VersionedOnlineReadNotSupported 时即表示完成;运行相关的 online-store 测试。

由索引模型根据 Issue 内容生成。

描述

Summary

Add versioned feature view read/write support to the Remote online store, so that version-qualified feature references (e.g., driver_stats@v2:trips_today) resolve to the correct versioned data.

Context

Feature view versioning was introduced in #6101. Currently, only the SQLite online store supports versioned reads/writes. All other online stores raise VersionedOnlineReadNotSupported when a versioned ref is used.

The implementation pattern (see sqlite.py for reference) involves:

  1. Write path: When enable_online_feature_view_versioning is enabled, materialize data into a version-specific table/key namespace (e.g., {project}_{fv_name}_v{version})
  2. Read path: Route version-qualified lookups to the correct versioned table/key namespace

Reference implementation

  • SQLite online store: sdk/python/feast/infra/online_stores/sqlite.py
  • Store file: sdk/python/feast/infra/online_stores/remote.py

Related

Part of #2728

主要语言
Python
星标
7.4k
派生
1.5k
平均合并
2 天 6 小时
30 天内合并 PR
104

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

feast-dev/feast 的其他 Issue

查看 feast-dev/feast 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。