Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Components
Assignee
Shamser AhmedShamser AhmedReporter
Gavin HallidayGavin HallidayPriority
MinorCompatibility
MinorFix versions
Details
Details
Components
Assignee
Shamser Ahmed
Shamser AhmedReporter
Gavin Halliday
Gavin HallidayPriority
Compatibility
Minor
Fix versions
Created April 14, 2016 at 12:23 PM
Updated September 30, 2016 at 12:18 PM
Resolved September 30, 2016 at 12:18 PM
An expression like
````
output(count(x))
appears to be converted to a normalized form:
x := table(x, {cnt := count(group)})[1]);
extractresult(dataset(x), x.cnt);
Rather than
x := table(x, {cnt := count(group)}));
setresult(x[1].cnt);
However there are various optimizations that spot the second form as a scalar aggregate. It might be much better to generate the second form, and then convert it to use extract much later in the processing (just before the graph is resourced).
@Shamser Ahmed