Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaxin Gao committed Apr 29, 2024
1 parent 357491c commit a8c476d
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions core/src/execution/datafusion/expressions/stddev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,17 @@

//! Defines physical expressions that can evaluated at runtime during query execution
use std::any::Any;
use std::sync::Arc;

use arrow::{array::ArrayRef, datatypes::DataType, datatypes::Field};
use datafusion::logical_expr::Accumulator;
use datafusion_common::ScalarValue;
use datafusion_common::{internal_err, Result};
use datafusion_physical_expr::{AggregateExpr, PhysicalExpr};
use datafusion_physical_expr::expressions::format_state_name;
use crate::execution::datafusion::expressions::stats::StatsType;
use crate::execution::datafusion::expressions::utils::down_cast_any_ref;
use crate::execution::datafusion::expressions::variance::VarianceAccumulator;
use std::{any::Any, sync::Arc};

use crate::execution::datafusion::expressions::{
stats::StatsType, utils::down_cast_any_ref, variance::VarianceAccumulator,
};
use arrow::{
array::ArrayRef,
datatypes::{DataType, Field},
};
use datafusion_common::{internal_err, Result, ScalarValue};
use datafusion_physical_expr::{expressions::format_state_name, AggregateExpr, PhysicalExpr};

/// STDDEV and STDDEV_SAMP (standard deviation) aggregate expression
/// The implementation mostly is the same as the DataFusion's implementation. The reason
Expand Down

0 comments on commit a8c476d

Please sign in to comment.