uwescience / raco

Compilation and rule-based optimization framework for relational algebra. Raco is the language, optimization, and query translation layer for the Myria project.
Other
72 stars 19 forks source link

Radish: decomposed aggregates #449

Open bmyerz opened 9 years ago

bmyerz commented 9 years ago

Should more cleanly define aggregates in terms of

work in progress on the Grappa side is here https://github.com/uwsampa/grappa/tree/bmyerz/decomposed-aggregates

The main thing that needs to change in Raco is that update and combine definitions use MaterializedTuple... as the input/output types, but these tuples cannot handle the custom state types of the Grappa aggregates. Probably the solution is to have the update and combine definitions just use std::tuple directly.

bmyerz commented 9 years ago

480 fixes this for decomposed groupbys;

we also want it for global groupbys per the above designs