You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Citus actually supports pushing execution to the worker nodes for custom aggregates but it does not support it for aggregates having their state_data_type to be internal
onurctirtir
changed the title
Can aggregate function whitelist support configurable?
Support aggregates with stype = internal
Jun 16, 2020
We should add a metadata table that contains "safe" aggregates (and check it in AggregateEnabledCustom) and then implement serialization in worker_partial_agg_ffunc and deserialization in coord_combine_agg_sfunc.
Now, aggregation functions that support parallel execution in Citus are configured through a hard-coded whitelist in
multi_logical_optimizer.h
.We need to use the aggregate function in
pg_roaringbitmap
https://github.com/ChenHuajun/pg_roaringbitmap
-
rb_and_agg
-
rb_or_agg
Could this simple whitelist of aggregation functions satisfying the associativity be made configurable?
The text was updated successfully, but these errors were encountered: