ClickHouse / ClickHouse/clickhouse-java
[client-v2] POJO serialization: Skipped fields still consume memory
- Lingua principale
- Java
- Stelle
- 1.6k
- Fork
- 636
- Merge medio
- 2g 23h
- PR unite (30g)
- 29
Descrizione
### Description
Method `com.clickhouse.client.api.data_formats.internal.BinaryStreamReader#skipValue` internally calls `readValue` and does complete read and object creation. This may be critical when many `BigInteger` fields are skipped but still consume memory.
Expected that next evolution of the reader will have option to read or skip bytes from stream entirely.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start in com.clickhouse.client.api.data_formats.internal.BinaryStreamReader#skipValue and inspect how it delegates to readValue and advances the stream. Done means skipped values, including BigInteger fields, no longer require full object creation while the reader remains correctly positioned for the next value; add or update focused reader tests if the surrounding test structure identifies them.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100