feat: Integrate Chronon backfills with scalable historical retrieval

Abierto
#6,983 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
pandas, python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
7.4k
Forks
1.5k
Merge medio
2 d 6 h
PR fusionados (30 d)
107

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de feast-dev/feast

Todos los issues de feast-dev/feast

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.