[Bug] Nullability validation incorrectly checks children masked by null parents
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 58/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- cpp
研究方向
首先定位 ArrowUtils::CheckNullabilityMatch,以及涵蓋巢狀 STRUCT、LIST、MAP 和 VECTOR 陣列的測試。驗證 null 父層包含實體上為 null 的子層的情況,以及有效父層暴露 null 子層的情況;完成的標準是忽略被遮罩的子層,同時拒絕可見的非 nullable 子層。
由索引模型根據 Issue 內容生成。
描述
Search before asking
- I searched in the issues and found nothing similar.
Paimon-cpp version
master
Minimal reproduce step
ArrowUtils::CheckNullabilityMatch recursively checks complete Arrow child arrays.
For nested Arrow types, a null parent may still have physical child values. These
children are logically hidden and should not participate in nullability validation.
However, if a hidden child is null and its field is non-nullable, the current
implementation rejects the batch.
This affects nested STRUCT, LIST, MAP, and VECTOR fields and is inconsistent with
Java's logical row semantics.
What doesn't meet your expectations?
Expected behavior:
- Ignore child values masked by a null parent.
- Reject null children when the parent is valid and the child is logically visible.
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
- 主要語言
- C++
- 星號
- 65
- 分支
- 31
- 平均合併
- 2 天 3 小時
- 30 天內合併 PR
- 73
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
apache/paimon-cpp 的其他 Issue
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
apache/paimon-cpp#410 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 25/100
apache/paimon-cpp#409 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
apache/paimon-cpp#408 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
apache/paimon-cpp#407 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
apache/paimon-cpp#406 ·
維護者通常 1 天內回覆
查看 apache/paimon-cpp 的全部 Issue
相似的 Issue
-
Feature
難度 1/5 1 小時以內 新手友好度 65/100
Narezzurri/OpenVPN-Config-Manager#95 ·
維護者通常 1 天內回覆
-
bot-found bug priority: P1
難度 2/5 1-3 小時 新手友好度 68/100
madenvel/KalinkaPlayer#251 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
sqlitebrowser/sqlitebrowser#4208 ·
-
ROSES ROSES - Student Review
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
area/ysql kind/bug priority/medium
難度 2/5 1-3 小時 新手友好度 75/100
yugabyte/yugabyte-db#34552 ·
維護者通常 1 天內回覆