feat: support aggregates for global tbls
Summarize the changes
- feat: support agregates on global tbls
- Support groupby, aggregates and having when the child has Global distribution: in this case we simply don't do 2-stage aggregation and execute everything in stage on one node.
Ensure that
-
New code is covered by unit and integration tests. -
Related issues would be automatically closed with gitlab's closing pattern ( Closes #1, #2
). -
Public modules are documented (check the rendered version withcargo doc --open
). -
(if PEST grammar is changed) EBNF grammar reflects these changes (check the result with railroad diagram generator.
Next steps
- Update sbroad submodule in picodata/picodata.
- (if EBNF grammar is changed) create a follow-up issue in picodata/docs.
Closes #520 (closed)
Edited by Arseniy Volynets