CLI renders table property keys and values as Rich markup without escaping
維護者通常 1 天內回覆
評估
研究方向
Start in pyiceberg/cli/output.py with RichOutput.describe_properties and inspect the other describe_* methods that render server-supplied strings. Trace the CLI output path and existing tests, if present. Done means property keys and values are rendered literally rather than interpreted as Rich markup across the affected methods.
由索引模型根據 Issue 內容生成。
描述
RichOutput.describe_properties in pyiceberg/cli/output.py adds property keys and values directly to a Rich table:
def describe_properties(self, properties: Properties) -> None:
output_table = self._table
for k, v in properties.items():
output_table.add_row(k, v)
Console().print(output_table)
Rich interprets console markup by default, so square-bracket sequences in a property key or value are treated as style tags rather than literal text. rich.markup.escape is not used anywhere in the CLI, and markup=False is not set.
The same pattern appears in the other describe_* methods that render server-supplied strings. The practical effect is that property content controls the styling of CLI output, and content with unbalanced or misleading tags can alter how surrounding rows render.
Issue investigation generated via claude, reviewed by Sung, Kevin, Fokko.
- 主要語言
- Python
- 星號
- 1.2k
- 分支
- 618
- 平均合併
- 1 天 10 小時
- 30 天內合併 PR
- 71
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
apache/iceberg-python 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
apache/iceberg-python#4093 ·
維護者通常 1 天內回覆
-
Replace `__slots__ = (field1,field2,...)` with `slots=True`可能已有人在做 @med9110 於 2 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 68/100
apache/iceberg-python#4086 · 3 則留言 ·
維護者通常 1 天內回覆
-
View does not expose metadata_location: RestCatalog.load_view discards it from the server's response可能已有人在做 @Soumo-git-hub 於 3 天前認領。 未關閉kind:bug
難度 2/5 1-3 小時 新手友好度 84/100
apache/iceberg-python#4073 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
apache/iceberg-python#4010 · 3 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
to_bytes silently rescales a Decimal with a negative scale可能已有人在做 @Rodrigo-Palma 於 23 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
apache/iceberg-python#3996 ·
維護者通常 1 天內回覆
查看 apache/iceberg-python 的全部 Issue
相似的 Issue
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 78/100
hatchet-dev/hatchet#5179 ·
維護者通常 1 天內回覆
-
python-version
難度 1/5 1 小時以內 新手友好度 88/100
-
bug
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
bug javascript P2-medium python release:v3.1
難度 2/5 1-3 小時 新手友好度 68/100
adrirubio/claude-deck#546 ·
維護者通常 1 天內回覆