Skip to content

Commit 5631242

Browse files
committed
Aggregation definition: states that it returns a single partial function
Closes #107
1 parent 797575a commit 5631242

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8894,7 +8894,7 @@ <h5>Grouping and Aggregation</h5>
88948894
Replace V with Sample(V)
88958895
End
88968896
For each aggregate R(args ; scalarvals) now in X
8897-
# note scalarvals may be omitted, then it's equivalent to the empty set
8897+
# note scalarvals may be omitted, then it's equivalent to the empty function
88988898
A<span><sub>i</sub></span> := Aggregation(args, R, scalarvals, Grp)
88998899
Replace R(...) with agg<span><sub>i</sub></span> in Q
89008900
i := i + 1
@@ -9555,9 +9555,9 @@ <h4>Aggregate Algebra</h4>
95559555
<b>Definition: Aggregation</b>
95569556
</div>
95579557
<p>Let <i>exprlist</i> be a list of expressions or *, <i>func</i> a set function,
9558-
<i>scalarvals</i> a set of partial functions (possibly empty) passed from the aggregate
9558+
<i>scalarvals</i> a partial function (possibly empty) passed from the aggregate
95599559
in the query, and let { key<sub>1</sub>→Ψ<sub>1</sub>, ...,
9560-
key<sub>m</sub>→Ψ<sub>m</sub> } be a set of partial functions from keys to
9560+
key<sub>m</sub>→Ψ<sub>m</sub> } be a partial function from keys to
95619561
solution sequences as produced by the grouping step.</p>
95629562
<p>Aggregation applies the set function func to the given set and produces a
95639563
single value for each key and group of solutions for that key.</p>

0 commit comments

Comments
 (0)