diff --git a/datafusion/physical-expr/src/aggregate/first_last.rs b/datafusion/physical-expr/src/aggregate/first_last.rs index a21f811d11ef0..cc3a2ec66f84c 100644 --- a/datafusion/physical-expr/src/aggregate/first_last.rs +++ b/datafusion/physical-expr/src/aggregate/first_last.rs @@ -735,11 +735,9 @@ mod tests { use crate::aggregate::first_last::{FirstValueAccumulator, LastValueAccumulator}; - use crate::expressions::{col, FirstValue}; - use crate::{AggregateExpr, PhysicalSortExpr}; use arrow::compute::concat; - use arrow_array::{ArrayRef, Int32Array, Int64Array, RecordBatch}; - use arrow_schema::{DataType, Field, Schema, SortOptions}; + use arrow_array::{ArrayRef, Int64Array}; + use arrow_schema::DataType; use datafusion_common::{Result, ScalarValue}; use datafusion_expr::Accumulator;