The grid (core) ยท console.warn
`{stat}` on `{col}` (source #{n}) computed over {covered} of {total} matching rows (windowed source); hold the data in a memory source for whole-dataset statistics.
Printed by The grid (core), prefixed [lattice], since 1.17.0.
Warnings reference › stat.windowed:*:*
- Identifier
stat.windowed:*:*- Raised by
- The grid (core)
- Since
- 1.17.0
What happened
The statistic was computed over the rows this windowed source is holding, not over every row that matches. The number is real and it is a sample: it describes the window, not the dataset. The message carries the coverage so you can judge how far off it might be. Development builds only; the key is the statistic and the column, so a long session cannot grow the de-duplication set.
The fix
Hold the data in a memory source for an exact figure, or compute the statistic where the whole set lives - on the server, or in the adapter through pushdown.
Reference
Covered in full at the API reference.