ClickHouse / ClickHouse/clickhouse-java

[client-v2] POJO serialization: Skipped fields still consume memory

Abierto
#2,928 0 comentarios 0 reacciones 0 asignados Ver en GitHub
client-api-v2 performance
Lenguaje dominante
Java
Estrellas
1.6k
Forks
636
Merge medio
2 d 23 h
PR fusionados (30 d)
29

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

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

Evaluación

Stack tecnológico
java
Área
backend
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.