Port the Iceberg CDC tests off DoFnTester

Aperta
#41,731 8 commenti 0 reazioni 2 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@harshilv17 ci sta già lavorando.

Dal 30/11/2026.

  • #41810 di @harshilv17 — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
java
Ambito
testing

Direzione di ricerca

Read the Iceberg CDC tests under sdks/java/io/iceberg/src/test/java/org/apache/beam/sdk/io/iceberg/cdc/, especially ApplyWatermarkColumnTest, ResolveChangesTest, and LocalResolveDoFnTest. Port the deprecated DoFnTester usage to TestPipeline with PAssert, using an in-process runner where needed. The work is complete when these tests no longer use DoFnTester and pass in the project’s Java test suite.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The Iceberg CDC tests in sdks/java/io/iceberg/src/test/java/org/apache/beam/sdk/io/iceberg/cdc/ still use the deprecated DoFnTester:

  • ApplyWatermarkColumnTest (the two exception tests)
  • ResolveChangesTest and LocalResolveDoFnTest (each through a process() helper)

Port them to TestPipeline + PAssert, or an in-process runner where the assertions need it (like the DatastoreV1Test port in #40866).

@Supersaiyan101 mentioned picking these up in #18690 and opened #40909, which was closed without merging. Are you still working on them? If not, I'd like to take this.

Subtask of issue #18687

Lingua principale
Java
Stelle
8.7k
Fork
4.8k
Merge medio
3g 16h
PR unite (30g)
445

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/beam

Tutte le issue di apache/beam

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.