Skip to content

Commit

Permalink
Update datafusion/physical-plan/src/aggregates/group_values/single_gr…
Browse files Browse the repository at this point in the history
…oup_by/primitive.rs
  • Loading branch information
alamb authored Jan 29, 2025
1 parent 4a94f94 commit 1a36ac8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ where
buffer.append_n_non_nulls(null_idx);
buffer.append_null();
buffer.append_n_non_nulls(values.len() - null_idx - 1);
// SAFETY: The inner builder must be constructed
// NOTE: The inner builder must be constructed as there is at least one null
buffer.finish().unwrap()
});
PrimitiveArray::<T>::new(values.into(), nulls)
Expand Down

0 comments on commit 1a36ac8

Please sign in to comment.