Support variable window aggregation through ODFV
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- cassandra, python
調査の方向性
まず、既存の on-demand feature view API を、その raw data source、Field、Aggregation の処理を含めて追跡します。可変ウィンドウの aggregation が現在どのように検証され、永続化されているかを比較し、そのうえで、任意の input_schema によって raw source を置き換えられる箇所を特定します。提供された例がダミーソースなしで動作し、aggregation data の読み取りと書き込みをサポートすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
Currently, feast supports dynamic aggregation through ODFV from raw data source. For variable window aggregation, the features are independently computed so there is no raw source but aggregation is still being read / written.
Describe the solution you'd like
We want to allow users to not define raw data source but instead replace data source with new optional input_schema field to define raw data input type. For example, instead of passing in txn_amount from external feature view, it is submitted as input_schema. See example below:
@on_demand_feature_view(
input_schema=[
Field(name="txn_amount", dtype=Float64),
],
schema=[
Field(name="txn_count", dtype=Int64),
Field(name="total_txn_amount", dtype=Float64),
Field(name="avg_txn_amount", dtype=Float64),
],
aggregations=[
Aggregation(column="txn_amount", function="count", name="txn_count",
window=timedelta(days=30)),
Aggregation(column="txn_amount", function="sum", name="total_txn_amount",
window=timedelta(days=30)),
Aggregation(column="txn_amount", function="mean", name="avg_txn_amount",
window=timedelta(days=30)),
],
entities=[user],
write_to_online_store=True,
)
This allows dynamic systems like cassandra or iceberg that support time series data representations, to support variable window engines which support writing and reading to / from same source.
Describe alternatives you've considered
Using dummy source (confusing, needlessly complex), using aggregation on feature view (not supported)
- 主要言語
- Python
- スター
- 7.4k
- フォーク
- 1.5k
- 平均マージ
- 2日 6時間
- マージ済み PR(30日)
- 107
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
feast-dev/feast のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
BigQuery data quality monitoring fails: PRIMARY KEY placed outside the column list in monitoring table DDL対応中かも @liron-velocity が 50 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
get_online_features silently drops a join key value when it shares a name with an OnDemandFeatureView's RequestSource field対応中かも @OHMFOHS が 99 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
kind/bug priority/p2
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
feast-dev/feast#6778 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
feast-dev/feast の issue をすべて見る
似ている issue
-
accepted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
future-agi/future-agi#6392 ·
メンテナーはふだん 1 日以内に返信
-
memmapped_arange ignores the start value and drops the last point above the memmap threshold対応中かも @prathameshfuke が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
StingraySoftware/HENDRICS#213 ·
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
bot-triaged module: decompositions module: edge cases module: int overflow module: primTorch oncall: pt2 triage review
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信