[Feature Request]: [SQL/YAML] Support ASOF JOIN for point-in-time streaming enrichment

Offen
#41,309 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
java, python, sql, yaml

Rechercherichtung

No files or tests are named. Start by reading the Beam SQL SqlTransform and Python/Beam YAML transform entry points, then check how existing joins handle event time and state. Done means SQL and YAML support the requested latest-prior-record match, optional staleness tolerance, and watermark-bounded state eviction.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

What would you like to happen?

Add native ASOF JOIN support to Beam SQL (SqlTransform) and a declarative AsofJoin transform to Python/Beam YAML.

Unlike an interval join (which returns all matching right-hand rows within a window) or a standard equi-join, an ASOF JOIN matches each left event (key, ts_left) to the single most recent right-hand record (key, ts_right) where ts_right <= ts_left (with optional max-staleness tolerance and watermark-bounded state eviction).

Motivation

Many analytical SQL engines treat ASOF JOIN as a first-class primitive for real-time ML feature enrichment, financial tick/FX enrichment, and dynamic entity resolution without hand-writing OrderedListStateSpec + event-time timers.

Vorherrschende Sprache
Java
Sterne
8.7k
Forks
4.8k
Ø Merge
3 T. 16 Std.
Gemergte PRs (30 T.)
445

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus apache/beam

Alle Issues in apache/beam

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.