Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

reports: a measure that is not 'aggregate(field)' is skipped with a log warning - the report ships without the column

Abierto
#7,997 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java
Área
backend

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

  1. An unrecognised measure fails the Generate (422 naming the report and the measure), and so does a widget whose measure produced no column.
  2. Optionally, arithmetic over aggregates in one measure (sum(net) - sum(promotion)), compiled into the SELECT.
  3. 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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-dirigible/dirigible

Todos los issues de eclipse-dirigible/dirigible

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.