pub fn evaluate_aggregate( func: &AggregateFunction, args: &[Value], ) -> Result<Value, String>
Evaluate an aggregate function across a slice of Values. Returns the final aggregate value.