apache / apache/parquet-java

[Vectorized Reader] Add attributes in ColumnVector and RowBatch

Abierto
#1,852 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Component: Java Component: Parquet Priority: Major Type: task
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.6k
Merge medio
3 d 12 h
PR fusionados (30 d)
33

Descripción

As discussed in HIVE-8128, we want to add some attributes in vector.

- In `ColumnVector`, add two attributes: one is `boolean noNulls`, which indicates whether the whole column vector has no null value. The other is `boolean isRepeating`, which indicates whether the same value repeats for whole column vector. They could be calculated at the same time when we read a vector. SQL engines (like Hive) can check these attribute to skip some values.
- In `RowBatch`, add one attribute `int size`, which indicates the number of rows in this batch. This is just for easy usage. Its value should be the same as `RowBatch.columns\[0\].numValues`.

**Reporter**: [Dong Chen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dongc) / @dongc
**Assignee**: [Nezih Yigitbasi](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=nezihyigitbasi) / @nezihyigitbasi

**Note**: *This issue was originally created as [PARQUET-333](https://issues.apache.org/jira/browse/PARQUET-333). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Empieza localizando ColumnVector, RowBatch y la implementación del lector vectorizado. Sigue el flujo para determinar dónde se rellenan los vectores y los batches; después, verifica que noNulls, isRepeating y size coincidan con la semántica indicada y que las pruebas existentes del lector cubran los metadatos resultantes.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
data-engineering
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.