reports: a measure that is not 'aggregate(field)' is skipped with a log warning - the report ships without the column
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 43/100
Línea de trabajo
Start in ReportIntentGenerator.java at the measure warning near line 607, then inspect the widget check near line 2233 and the Generate path. Trace how measures become SELECT columns and how Generate reports errors; the requested integration test should confirm an invalid measure returns 422 naming the report and measure, and a supported measure serves its column. The optional arithmetic form may require additional parsing and compilation work.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
A report measures: entry that does not match the aggregate(field) convention is dropped at Generate with only a log line: ReportIntentGenerator.java:607 (master 4e82eb1677) LOGGER.warn("Measure [{}] did not match the aggregate(field) convention - skipping"). The report generates, publishes and serves without the column, and a widget pointing at it only logs "references measure [...] which produced no column - the KPI will not resolve" (:2233).
So sum(net - promotion), sum(net) - sum(promotion) or a typo like sum (net) ships a report that silently lacks the figure the author asked for. Hit while moving the sales revenue reports from sum(total) to net (BusinessIntents/base-sales-invoices#229): the natural spelling of "net less promotions" was skipped without an error, and the change had to become two columns.
Fix wanted
- An unrecognised measure fails the Generate (422 naming the report and the measure), and so does a widget whose measure produced no column.
- Optionally, arithmetic over aggregates in one measure (
sum(net) - sum(promotion)), compiled into the SELECT. - An IT: a report with an unparseable measure answers 422 at Generate; with the supported form it serves the column.
Downstream: BusinessIntents/base-sales-invoices#229.
- Lenguaje dominante
- Java
- Estrellas
- 278
- Forks
- 97
- Merge medio
- 19 h 30 min
- PR fusionados (30 d)
- 242
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 eclipse-dirigible/dirigible
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
eclipse-dirigible/dirigible#7958 ·
Los mantenedores suelen responder en 1 día
-
intent: a create-from without fromStatus answers 200 on a missing or unknown source id (no 400/404)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
eclipse-dirigible/dirigible#7945 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
eclipse-dirigible/dirigible#7891 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
eclipse-dirigible/dirigible#6538 ·
Los mantenedores suelen responder en 1 día
-
Create shortcut for Camel filesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
eclipse-dirigible/dirigible#4812 ·
Los mantenedores suelen responder en 1 día
Todos los issues de eclipse-dirigible/dirigible
Issues similares
-
ChaosEngine: backup-remote doctor row passes while consumer mode hides bot memory from gitPosiblemente ocupada @MohabMohie la tomó hoy. Abiertoagentic
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ShaftHQ/SHAFT_ENGINE#7263 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
bug/错误
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
FCL-Team/FoldCraftLauncher#1951 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
quarkusio/quarkus-agent-mcp#296 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
commons-app/apps-android-commons#7072 ·
Los mantenedores suelen responder en 1 día