|
|
@ -616,10 +616,9 @@ impl SimpleEvaluator { |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
if accumulators_for_group.is_empty() { |
|
|
|
if accumulators_for_group.is_empty() && key_mapping.is_empty() { |
|
|
|
// There is always at least one group
|
|
|
|
// There is always a single group if there is no GROUP BY
|
|
|
|
accumulators_for_group |
|
|
|
accumulators_for_group.insert(Vec::new(), Vec::new()); |
|
|
|
.insert(vec![None; key_mapping.len()], Vec::default()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
let accumulator_variables = accumulator_variables.clone(); |
|
|
|
let accumulator_variables = accumulator_variables.clone(); |
|
|
|
Box::new( |
|
|
|
Box::new( |
|
|
|