feat: Integrate Chronon backfills with scalable historical retrieval

オープン
#6,983 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
pandas, python

調査の方向性

Start with the Chronon offline adapter at sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py and the docs at docs/reference/offline-stores/chronon.md to see how retrieval currently loads projected Parquet into pandas. The issue asks for a design proposal first, covering backend choice and submission API, before any code. Done means an accepted design plus a runnable backfill example and regression tests in sdk/python/tests/unit/infra/offline_stores/contrib/chronon_offline_store.

索引モデルが issue の本文から書いたものです。

説明

kind/feature

Problem

Feast already supports point-in-time retrieval over Chronon Parquet outputs, including TTL, created-timestamp tie-breaking, column projection, local on-demand transformations, and saved datasets. The current adapter still loads projected data into pandas and performs joins locally. Backfill execution and connecting its output to Feast remain manual.

ML platform teams should be able to use Feast's historical retrieval APIs with Chronon-backed computation at a scale that does not require the full source dataset in the Feast client's memory.

Proposed solution

Implement this in stages:

  1. Define an execution contract mapping a Feast feature selection to a versioned Chronon configuration, entity keys/timestamps, execution target, and output location. Distinguish reading an existing materialization from explicitly requesting a new backfill.
  2. Add an optional backend that submits or attaches to a job through a supported Chronon execution integration. Expose job status, failures, timeout/cancellation behavior, and output location through the retrieval workflow.
  3. Support registering or persisting remotely produced results without downloading the entire dataset. Make local dataframe collection explicit, and reject unsupported transformations instead of silently falling back to unbounded local execution.

Keep the existing local Parquet path compatible. Chronon retains ownership of feature computation and job execution; registration alone must not launch jobs.

Acceptance criteria

  • A runnable integration example executes a real Chronon backfill and consumes its output through get_historical_features() and Feast dataset APIs.
  • The execution contract supports a documented remote entity-input format and records configuration/input versions, job identity, and output provenance.
  • Regression tests preserve documented point-in-time, TTL, timestamp, field-mapping, feature-name, missing-value, and entity-row semantics; unsupported combinations fail clearly.
  • A reproducible workload exceeding the configured client memory budget completes through the distributed path without loading the full source or result into pandas.
  • Retries do not duplicate completed work or expose partial outputs; job failure, timeout, and cancellation behavior is tested.
  • Document backend setup, credentials, execution ownership, supported on-demand transformations, operational limits, and migration from the current workflow.

Alternatives considered

Continue externally orchestrating Chronon and manually publishing Parquet for local retrieval, or hand-wire Chronon outputs to another Feast offline store. These remain useful options, but leave users to maintain the handoff and execution semantics.

Context

Follow-up to #6188; related definition/metadata work: #6982.

Starting points: Chronon offline adapter, current historical retrieval documentation, and retrieval regression tests.

Backend choice and the submission API need a design proposal before implementation.

主要言語
Python
スター
7.4k
フォーク
1.5k
平均マージ
2日 6時間
マージ済み PR(30日)
107

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

feast-dev/feast のほかの issue

feast-dev/feast の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。