[Bug] [sqlancer] PAX: IS NULL query returns fewer rows after DELETE
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by running the attached repro_pax_sparse_filter_isnull_after_delete.sql against a database and comparing its output with the attached .log. Then confirm the bug by toggling the pax.enable_sparse_filter setting off and on, since the report says disabling it gives the correct result. The PAX sparse-filter read path and DELETE visibility handling are the likely areas, but the payload does not name the source files. Done means a WHERE c0 IS NULL query after the DELETE returns the same rows with the sparse filter on as with it off.
由索引模型根据 Issue 内容生成。
描述
Apache Cloudberry version
Version
PostgreSQL 14.4 (Apache Cloudberry 2.8.0 build 153099) (HashData Lightning 2.8.0 build 153099) on aarch64-unknown-linux-gnu, compiled by gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7.7.0.2), 64-bit compiled on Sep 23 2026 22:47:39
What happened
Description
After a DELETE on a pax table, WHERE c0 IS NULL returns fewer rows than expected (2 NULL rows remain, the query returns 0). With SET pax.enable_sparse_filter = off the result is correct. See repro_pax_sparse_filter_isnull_after_delete.sql / repro_pax_sparse_filter_isnull_after_delete.log.
What you think should happen instead
No response
How to reproduce
repro_pax_sparse_filter_isnull_after_delete.log
repro_pax_sparse_filter_isnull_after_delete.sql
Steps to Reproduce
psql -e -d <db> -f repro_pax_sparse_filter_isnull_after_delete.sql
Operating System
rocky9
Anything else
No response
Are you willing to submit PR?
- Yes, I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct.
- 主要语言
- C
- 星标
- 1.4k
- 派生
- 260
- 平均合并
- 4 天 52 分钟
- 30 天内合并 PR
- 51
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/cloudberry 的其他 Issue
-
[Bug] Expand fails to recognize user-defined tablespaces可能已有人在做 @nix-oss 于 56 天前认领。 未关闭type: Bug
难度 2/5 1-3 小时 新手友好度 76/100
apache/cloudberry#1885 · 2 个 reaction ·
维护者通常 3 天内回复
-
gpexpand first stage fails: 'SyncPackages' object has no attribute 'ret' (extension sync never runs; regression)可能已有人在做 @talmacschen-arch 于 117 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 86/100
apache/cloudberry#1825 ·
维护者通常 3 天内回复
-
[Issues] When Initializing a new Cloudberry cluster we are encountering issues可能已有人在做 @yjhjstz 于 1 天前认领。 未关闭type: Bug
难度 4/5 3-5 天 新手友好度 12/100
apache/cloudberry#2101 · 7 条评论 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 12/100
apache/cloudberry#2097 · 1 条评论 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
apache/cloudberry#2088 · 2 条评论 ·
维护者通常 3 天内回复
查看 apache/cloudberry 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 4 天内回复
-
难度 2/5 半天 新手友好度 62/100
维护者通常 1 天内回复
-
foomatic-rip: dstrtrim_right() underflows mid-loop on an all-whitespace string可能已有人在做 @ManasBagul23 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
OpenPrinting/cups-filters#759 ·
维护者通常 11 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
EchoTools/nevr-runtime#547 ·
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100