Skip to content

Commit

Permalink
Make aggregates::group_values module public for use in dedup operator
Browse files Browse the repository at this point in the history
  • Loading branch information
dispanser committed Sep 18, 2024
1 parent f490e9e commit b5d119b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/physical-plan/src/aggregates/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use datafusion_physical_expr::{

use itertools::Itertools;

mod group_values;
pub mod group_values;
mod no_grouping;
mod order;
mod row_hash;
Expand Down Expand Up @@ -822,7 +822,7 @@ fn create_schema(
Ok(Schema::new(fields))
}

fn group_schema(schema: &Schema, group_count: usize) -> SchemaRef {
pub fn group_schema(schema: &Schema, group_count: usize) -> SchemaRef {
let group_fields = schema.fields()[0..group_count].to_vec();
Arc::new(Schema::new(group_fields))
}
Expand Down

0 comments on commit b5d119b

Please sign in to comment.