ClickHouse / ClickHouse/clickhouse-java
[client-v2] POJO serialization: Skipped fields still consume memory
- Langage dominant
- Java
- Étoiles
- 1.6k
- Forks
- 636
- Merge moyen
- 2 j 23 h
- PR mergées (30 j)
- 29
Description
### 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100