Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[Umbrella] Implement PendingUpdate subclasses

未關閉
#364 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
cpp
領域
databases

研究方向

從 iceberg/update 目錄中列出的未勾選子類別開始,並將它們與已完成的實作進行比較。閱讀 src/iceberg/table_metadata.h、src/iceberg/table_update.h、src/iceberg/table.h 和 src/iceberg/transaction.h,以追蹤所需的 metadata、update 和 public 介面。選取的子類別已實作,並透過相關的 Table 和 Transaction API 對外提供,即表示完成。

由索引模型根據 Issue 內容生成。

描述

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
主要語言
C++
星號
226
分支
132
平均合併
1 天 11 小時
30 天內合併 PR
27

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

apache/iceberg-cpp 的其他 Issue

查看 apache/iceberg-cpp 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。