Add warning when using aggregates results that were not executed
578
Views
2
Comments
On our RadarOn our Radar
Aggregates & Queries

Hi,

As I currently discovered the aggregate is “created“ at the beginning of the action. So, the "result" is available even before it is executed or even if it is never executed. It will just be empty if you try to use, as it was not executed. 

It can lead to undesired behavior if accidentally assign aggregate result in the wrong scope... It would be helpful to have a warning for such situation that the result of the aggregate will not yet be available.

2014-02-07 17-02-43
Vasco Pessanha
Changed the category to
Aggregates & Queries
and the status to
On our RadarOn our radar

Thanks Mykola,

 We already don't show this on suggestions but it might make sense to have a warning! 

And the same for SQL of course.