Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: jayzhan211 <[email protected]>
  • Loading branch information
jayzhan211 committed May 26, 2024
1 parent 70b8651 commit f6d37bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion datafusion/core/src/dataframe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ use datafusion_expr::{
TableProviderFilterPushDown, UNNAMED_TABLE,
};
use datafusion_expr::{case, is_null};
use datafusion_functions_aggregate::expr_fn::sum;
use datafusion_functions_aggregate::expr_fn::median;
use datafusion_functions_aggregate::expr_fn::sum;

use async_trait::async_trait;

Expand Down
3 changes: 0 additions & 3 deletions datafusion/expr/src/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ pub struct AccumulatorArgs<'a> {

/// The number of arguments the aggregate function takes.
pub args_num: usize,

/// The name of the expression
pub name: &'a str,
}

/// [`StateFieldsArgs`] contains information about the fields that an
Expand Down
4 changes: 2 additions & 2 deletions datafusion/functions-aggregate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ pub mod macros;

pub mod covariance;
pub mod first_last;
pub mod sum;
pub mod median;
pub mod sum;

use datafusion_common::Result;
use datafusion_execution::FunctionRegistry;
Expand All @@ -70,8 +70,8 @@ use std::sync::Arc;
pub mod expr_fn {
pub use super::covariance::covar_samp;
pub use super::first_last::first_value;
pub use super::sum::sum;
pub use super::median::median;
pub use super::sum::sum;
}

/// Registers all enabled packages with a [`FunctionRegistry`]
Expand Down

0 comments on commit f6d37bf

Please sign in to comment.