We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b49bf0 commit e901745Copy full SHA for e901745
1 file changed
datafusion/functions-aggregate/benches/count_distinct.rs
@@ -199,7 +199,7 @@ fn count_distinct_groups_benchmark(c: &mut Criterion) {
199
let (_schema, args) = prepare_args(DataType::Int64);
200
let mut acc = count_fn.create_groups_accumulator(args).unwrap();
201
acc.update_batch(
202
- &[values.clone()],
+ std::slice::from_ref(&values),
203
&group_indices,
204
None,
205
num_groups,
0 commit comments