Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#7,997 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Java
Stelle
278
Fork
97
Merge medio
17h 19m
PR unite (30g)
261

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-dirigible/dirigible

Tutte le issue di eclipse-dirigible/dirigible

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.