apache / apache/parquet-java

[Vectorized Reader] Add attributes in ColumnVector and RowBatch

Aperta
#1,852 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Component: Java Component: Parquet Priority: Major Type: task
Lingua principale
Java
Stelle
3.1k
Fork
1.6k
Merge medio
3g 12h
PR unite (30g)
33

Descrizione

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.*

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia individuando ColumnVector, RowBatch e l’implementazione del reader vettorializzato. Segui il percorso per capire dove vengono popolati i vettori e i batch, quindi verifica che noNulls, isRepeating e size corrispondano alla semantica dichiarata e che i test esistenti del reader coprano i metadati risultanti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
data-engineering
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.