Port the Iceberg CDC tests off DoFnTester

Abierto
#41,731 8 comentarios 0 reacciones 2 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

@harshilv17 ya está trabajando en esto.

Desde el 30/11/2026.

  • #41810 de @harshilv17 — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
java
Área
testing

Línea de trabajo

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.

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

Descripción

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

Lenguaje dominante
Java
Estrellas
8.7k
Forks
4.8k
Merge medio
3 d 16 h
PR fusionados (30 d)
445

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 apache/beam

Todos los issues de apache/beam

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.