[Bug] Standalone multi-group Measure aggregation returns one row per group
Los mantenedores suelen responder en 1 día
@hanahmily ya está trabajando en esto.
Desde el 5/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Search before asking
- I had searched in the issues and found no similar issues.
Apache SkyWalking Component
BanyanDB (apache/skywalking-banyandb)
What happened
On a standalone node, a multi-group aggregate like SELECT host, SUM(v) FROM MEASURE qlb_fixture IN replicated_group, sw_metric ... GROUP BY host returns one row per group, m=5 and m=18, instead of a single m=23. The same query on a distributed cluster returns 23 since #14069.
MultiGroupMerge runs the full aggregation in each group and then just concatenates the results (the comment in multi_group_merge.go points at #14069 for reducing them, but that one only covered the liaison).
What you expected to happen
Standalone and distributed should give the same answer: one row per group key, reduced across groups.
How to reproduce
Register RegisterMultiGroupAggTable (added in apache/skywalking-banyandb#1442) in test/integration/standalone/query/vectorized_test.go and run it with -tags querymetrics. It fails with QL row count: got 2, want 1.
Anything else
I'd like to fix it by running each group in partial mode and reducing with the same path the liaison uses, then registering that test in the standalone suite too. Ok to take it?
Are you willing to submit a pull request to fix on your own?
- Yes I am willing to submit a pull request on my own!
Code of Conduct
- I agree to follow this project's Code of Conduct
- Lenguaje dominante
- Java
- Estrellas
- 25k
- Forks
- 6.6k
- Merge medio
- 12 h 41 min
- PR fusionados (30 d)
- 48
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/skywalking
-
[Bug] [BanyanDB] MCP HTTP server rejects a lowercase "bearer" Authorization schemePosiblemente ocupada @UchihaIthachi la tomó hoy. Abiertobug database
apache/skywalking#14199 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug] [BanyanDB] MCP server ignores .env values and silently accepts malformed numeric/TRANSPORT settingsPosiblemente ocupada @wanjinhao1 la tomó hace 2 días. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
apache/skywalking#14194 ·
Los mantenedores suelen responder en 1 día
-
[Bug] BanyanDB trace block metadata format changed in 0.11 without a file format version bumpPosiblemente ocupada @hanahmily la tomó hace 11 días. Abiertobug database
apache/skywalking#14169 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
chore CLI database
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
apache/skywalking#14168 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[BanyanDB] Stream write callback reports success for events it did not storeQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
apache/skywalking#14158 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/skywalking
Issues similares
-
Good First Issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
hiero-ledger/hiero-sdk-java#3044 ·
Los mantenedores suelen responder en 1 día
-
A second build without clean fails in resources-optimizer-maven-plugin because minified files are minified againPosiblemente ocupada @papegaaij la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
hermes-queue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
chrisalunlloyd2-sudo/mindpalace#337 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
[Regression][98.0.0] Android I/flutter logs are automatically folded by FlutterConsoleFoldingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
flutter/flutter-intellij#9221 ·
Los mantenedores suelen responder en 1 día