ClickHouse / ClickHouse/clickhouse-java

[Client, JDBC] Support Aggregate Functions

Abierto
#2,599 0 comentarios 2 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Java
Estrellas
1.6k
Forks
636
Merge medio
2 d 23 h
PR fusionados (30 d)
29

Descripción

### Description
There is currently only SimpleAggregate function columns are supported and partially.

Related to https://github.com/dbeaver/dbeaver/issues/29931

Example table:

```SQL
CREATE TABLE signoz_metrics.exp_hist
(

`env` LowCardinality(String) DEFAULT 'default',
`temporality` LowCardinality(String) DEFAULT 'Unspecified',
`metric_name` LowCardinality(String),
`fingerprint` UInt64 CODEC(Delta(8), ZSTD(1)),
`unix_milli` Int64 CODEC(DoubleDelta, ZSTD(1)),
`count` UInt64 CODEC(ZSTD(1)),
`sum` Float64 CODEC(Gorilla, ZSTD(1)),
`min` Float64 CODEC(Gorilla, ZSTD(1)),
`max` Float64 CODEC(Gorilla, ZSTD(1)),
`sketch` AggregateFunction(quantilesDD(0.01, 0.5, 0.75, 0.9, 0.95, 0.99), UInt64) CODEC(ZSTD(1))
)
ENGINE = MergeTree
PARTITION BY toDate(unix_milli / 1000)
ORDER BY (env, temporality, metric_name, fingerprint, unix_milli)
TTL toDateTime(unix_milli / 1000) + toIntervalSecond(2592000)
SETTINGS ttl_only_drop_parts = 1,
index_granularity = 8192;

```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by tracing the JDBC client handling for ClickHouse AggregateFunction columns. Reproduce the behavior with the provided signoz_metrics.exp_hist CREATE TABLE, especially its quantilesDD sketch column, and compare it with the related issue #29931. Done means AggregateFunction columns are supported consistently rather than only partially.

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

Evaluación

Stack tecnológico
java
Área
databases
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.