reports: a measure that is not 'aggregate(field)' is skipped with a log warning - the report ships without the column
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
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
- 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.
- Lingua principale
- Java
- Stelle
- 278
- Fork
- 97
- Merge medio
- 17h 19m
- PR unite (30g)
- 261
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eclipse-dirigible/dirigible
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
eclipse-dirigible/dirigible#7958 ·
I maintainer di solito rispondono entro 1 giorno
-
intent: a create-from without fromStatus answers 200 on a missing or unknown source id (no 400/404)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
eclipse-dirigible/dirigible#7945 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
eclipse-dirigible/dirigible#7891 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
eclipse-dirigible/dirigible#6538 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
eclipse-dirigible/dirigible#4812 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di eclipse-dirigible/dirigible
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
2026 Error Report
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
triplea-game/triplea#15096 ·
I maintainer di solito rispondono entro 1 giorno
-
Implement JDBC Domain Enums (`SqlCategory`, `SqlExecutionStatus`, `SqlExecutionType`) in Core ModuleApertacore-module enhancement good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 87/100
sdlc-pro/spring-lens#531 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
Low-Drag-MC/LDLib2#78 ·
-
[GLOBAL] Advancement resetAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
Vakore/ZappierGames#184 ·