[Bug] [sqlancer] PAX: IS NULL query returns fewer rows after DELETE
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C
- Estrellas
- 1.4k
- Forks
- 262
- Merge medio
- 4 d 20 h
- PR fusionados (30 d)
- 57
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/cloudberry
-
[Bug] Expand fails to recognize user-defined tablespacesPosiblemente ocupada @nix-oss la tomó hace 60 días. Abiertotype: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
apache/cloudberry#1885 · 2 reacciones ·
Los mantenedores suelen responder en 3 días
-
gpexpand first stage fails: 'SyncPackages' object has no attribute 'ret' (extension sync never runs; regression)Posiblemente ocupada @talmacschen-arch la tomó hace 121 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
apache/cloudberry#1825 ·
Los mantenedores suelen responder en 3 días
-
Lance support: contrib/lance_fdw and the MCP server's Lance toolsPosiblemente ocupada @MisterRaindrop la tomó hace 2 días. Abierto
apache/cloudberry#2139 · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
type: Bug
Dificultad 3/5 Medio día Aptitud para principiantes 58/100
apache/cloudberry#2137 ·
Los mantenedores suelen responder en 3 días
-
type: Proposal
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
apache/cloudberry#2136 · 1 comentario ·
Los mantenedores suelen responder en 3 días
Todos los issues de apache/cloudberry
Issues similares
-
Weekly fuzz run failedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kubernetes-sigs/security-profiles-operator#3597 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
AFLplusplus/AFLplusplus#2903 ·
-
Clean up stale and inaccurate comments in the platform screen and input filesPosiblemente ocupada @RichStephens la tomó hoy. Abierto
Dificultad 2/5 Medio día Aptitud para principiantes 88/100
FujiNetWIFI/fujinet-config#289 ·
Los mantenedores suelen responder en 1 día
-
[raylib] update to 6.2Abiertocategory:port-update
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
nasa/cFS-GroundSystem#272 ·