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

[Bug] Nullability validation incorrectly checks children masked by null parents

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

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

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

研究方向

首先定位 ArrowUtils::CheckNullabilityMatch,以及涵蓋巢狀 STRUCT、LIST、MAP 和 VECTOR 陣列的測試。驗證 null 父層包含實體上為 null 的子層的情況,以及有效父層暴露 null 子層的情況;完成的標準是忽略被遮罩的子層,同時拒絕可見的非 nullable 子層。

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

描述

bug
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

環境準備

從這裡開始

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

apache/paimon-cpp 的其他 Issue

查看 apache/paimon-cpp 的全部 Issue

相似的 Issue

更多 C++ Issue

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

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