Port the Iceberg CDC tests off DoFnTester

Đang mở
#41,731 8 bình luận 0 reaction 2 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@harshilv17 đang làm issue này rồi.

Từ ngày 30/11/2026.

  • #41810 của @harshilv17 — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
8.7k
Fork
4.8k
Merge trung bình
3 ngày 16 giờ
Pull request đã merge (30 ngày)
445

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/beam

Tất cả issue của apache/beam

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.