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

_read_deletes filters the full delete table once per distinct file_path

未關閉
#3,983 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@ArulJerald 已經在處理了。

開始於 2026年9月17日。

  • #3989 來自 @ArulJerald —— 未關閉

評估

難度
3/5
預估耗時
1-2 天
新手友好度
68/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
python

研究方向

Start at the _read_deletes implementation and inspect both the dictionary-comprehension branch and the ORC branch described in the issue. Trace how file_path and pos are represented, then verify that the result is equivalent while avoiding a full-table filter for every distinct path; add or run coverage for delete files containing many paths.

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

描述

bug

_read_deletes builds its result with a dict comprehension that filters the whole table once per distinct file_path:

{
    file.as_py(): table.filter(pc.field("file_path") == file).column("pos")
    for file in table.column("file_path").chunks[0].dictionary
}

Cost is therefore O(rows x distinct paths). A delete file with many distinct paths makes this quadratic. The ORC branch below has the same shape via unique().


Issue investigation generated via claude, reviewed by Sung, Kevin, Fokko.

主要語言
Python
星號
1.2k
分支
618
平均合併
1 天 18 小時
30 天內合併 PR
70

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

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

apache/iceberg-python 的其他 Issue

查看 apache/iceberg-python 的全部 Issue

相似的 Issue

更多 Python Issue

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

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