pub fn rewrite_aggregates_with_local(
ast: &Ast,
is_local: &dyn Fn(&str) -> bool,
) -> AstExpand description
rewrite_aggregates, with the L1 local-table carve-out
(201-LOCAL-ONLY-TABLES-DESIGN.md §5.2): a count over a table is_local accepts is a
native IVM reduce with no server-authoritative __agg_* base, so it is left alone —
rewriting it would point the relationship at a synthetic table nothing ever feeds.