Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Umbrella] Implement PendingUpdate subclasses

Đang mở
#364 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
cpp
Lĩnh vực
databases

Hướng nghiên cứu

Bắt đầu với các lớp con chưa được đánh dấu được liệt kê cho thư mục iceberg/update và so sánh chúng với các triển khai đã hoàn tất. Đọc src/iceberg/table_metadata.h, src/iceberg/table_update.h, src/iceberg/table.h và src/iceberg/transaction.h để theo dõi các giao diện metadata, update và public bắt buộc. Được coi là hoàn tất khi lớp con được chọn đã được triển khai và được cung cấp thông qua các API Table và Transaction liên quan.

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

Mô tả

enhancement

This issue tracks the progress of implementation of PendingUpdate subclasses. To implement each subclass, we need to make sure that following goals are met:

  1. Implement respective functions in the TableMetadataBuilder for this kind of update.
  2. Implement respective TableUpdate subclass (if exists) to apply uncommitted changes to TableMetadataBuilder and generate update requirements.
  3. Expose the new update as an interface to Table and Transaction classes.

Below is the list of subclasses that are expected to add. They should be put into the iceberg/update subdirectory.

Medadata Update:

Unlike Java, we don't need pure interface for these classes.

  • UpdateProperties @WZhuo
  • ReplaceSortOrder @HeartLinked
  • UpdateSchema @gty404
  • UpdatePartitionSpec @zhjwpku
  • ManageSnapshots (<- SnapshotManager) @zhjwpku
  • SetSnapshot @HeartLinked
  • UpdateLocation (<- SetLocation) @HeartLinked
  • UpdatePartitionStatistics @HeartLinked
  • UpdateSnapshotReference @zhjwpku
  • UpdateStatistics @HeartLinked
  • ExpireSnapshots @dongxiao1198 @shangxinli
Data Update:

For these classes, we still need intermediate interfaces and classes to consolidate common logic.

  • SnapshotUpdate(SnapshotProducer) @zhjwpku
  • FastAppend @zhjwpku
  • MergingSnapshotProducer @gty404 (planned in 0.3.0)
  • OverwriteFiles @gty404 (planned in 0.3.0)
  • RowDelta
  • MergeAppend
  • DeleteFiles
  • RewriteFiles
  • ReplacePartitions
  • RewriteManifests
  • CherryPickOperation
Ngôn ngữ chính
C++
Star
226
Fork
132
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
27

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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/iceberg-cpp

Tất cả issue của apache/iceberg-cpp

Issue tương tự

Thêm issue về C++

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.