From 3e84596231a158792189bd0453cc829c53e84794 Mon Sep 17 00:00:00 2001 From: Huaxin Gao Date: Sat, 2 Mar 2024 11:24:07 -0800 Subject: [PATCH] fix error --- datafusion/physical-expr/src/aggregate/first_last.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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;