Skip to content

feat: implement GroupsAccumulator for count(DISTINCT) aggr #15324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
// specific language governing permissions and limitations
// under the License.

//! [`GroupsAccumulator`] helpers: [`NullState`] and [`accumulate_indices`]
//! [`GroupsAccumulator`] helpers: [`NullState`] and [`accumulate_indices`]-like functions.
//!
//! This mod provides various kinds of helper functions to work with [`GroupsAccumulator`],
//! here is a quick summary of the functions provided and their purpose/differences:
//! - [`accumulate`]: Accumulate a single, primitive value per group.
//! - [`accumulate_multiple`]: Accumulate multiple, primitive values per group.
//! - [`accumulate_indices`]: Accumulate indices only (without actual value) per group.
//!
//! [`GroupsAccumulator`]: datafusion_expr_common::groups_accumulator::GroupsAccumulator

Expand Down
Loading
Loading