use Value;
use crateAnalyzerError;
/// The per-group state.
/// The executor will:
/// 1) evaluate the function's arguments per row into serde_json::Value
/// 2) call `update(&mut self, &args)` (args.len() == fun.args.len())
/// 3) after all rows in the group, call `finalize()`
///
/// DISTINCT is usually handled by the executor (wrapping the accumulator with a
/// value set) so `update` can just implement the non-distinct semantics.