[FLINK] A null ROW inside an ARRAY or MAP shifts the fields of the elements after it
Los mantenedores suelen responder en 3 días
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 62/100
Línea de trabajo
Start in FlinkRowToVLVectorConvertor.fromRowData and follow how ArrowVectorWriter delegates to BaseVectorWriter, focusing on the ROW field writers that only advance on non-null rows. Reproduce with an ARRAY<ROW<x INT, y STRING>> value containing a NULL element and check that later elements keep their fields aligned. Done when the array and map cases with null ROW values, and the nested r.x case, read back the correct values.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
FlinkRowToVLVectorConvertor.fromRowData builds the Arrow vectors with ArrowVectorWriter. When it writes a null value, BaseVectorWriter only clears the validity bit. For a ROW, the field writers are advanced only when a non-null row is written, so after a null row each field vector is one row behind the struct vector.
A top-level column is written one row at a time, but array elements and map values go through one writer, so the shift shows up there. For an ARRAY<ROW<x INT, y STRING>> value [(1, 'a'), NULL, (2, 'b'), (3, 'c')], the element at index 2 reads back as (3, 'c'). A null ROW field inside a non-null element shifts the same way: for ARRAY<ROW<r ROW<x INT>>> with [(NULL), ((5))], the second element's r.x reads back as null.
v1.8.0-rc1 has the same code.
This issue was written with the assistance of AI (Claude Opus).
- Lenguaje dominante
- Scala
- Estrellas
- 1.6k
- Forks
- 685
- Merge medio
- 4 d 16 h
- PR fusionados (30 d)
- 84
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- 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/gluten
-
[CORE] Selecting a cost model the backend has no coster for fails with ClassNotFoundExceptionPosiblemente ocupada @LuciferYang la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 3 días
-
bug unit testing velox backend
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/gluten#13463 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 3 días
-
[VL] madvise(WILLNEED) call fails in MmapFileStream because of wrong calculation of fetching lengthQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 3 días
Todos los issues de apache/gluten
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
rchillyard/TableParser#206 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
? - Needs Triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
NVIDIA/cudf-spark#17063 ·
Los mantenedores suelen responder en 2 días
-
bug 🐞 User issue 🚨
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
valkey-io/valkey-glide#7813 · 2 comentarios ·
Los mantenedores suelen responder en 1 día