Skip to content

Commit 4c954ec

Browse files
committed
cleanup imports
1 parent f27480a commit 4c954ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+10
-48
lines changed

datafusion-examples/examples/advanced_udf.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
// under the License.
1717

1818
use std::any::Any;
19-
use std::hash::{DefaultHasher, Hash, Hasher};
2019
use std::sync::Arc;
2120

2221
use arrow::array::{

datafusion/expr/src/test/function_stub.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
//!
2020
//! These are used to avoid a dependence on `datafusion-functions-aggregate` which live in a different crate
2121
22+
use std::any::Any;
23+
2224
use arrow::datatypes::{
2325
DataType, FieldRef, DECIMAL128_MAX_PRECISION, DECIMAL256_MAX_PRECISION,
2426
};
25-
use std::any::Any;
26-
use std::hash::{DefaultHasher, Hash, Hasher};
2727

2828
use datafusion_common::{exec_err, not_impl_err, utils::take_function_args, Result};
2929

datafusion/functions-aggregate/src/average.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ use datafusion_macros::user_doc;
5050
use log::debug;
5151
use std::any::Any;
5252
use std::fmt::Debug;
53-
use std::hash::{DefaultHasher, Hash, Hasher};
5453
use std::mem::{size_of, size_of_val};
5554
use std::sync::Arc;
5655

datafusion/functions-aggregate/src/variance.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ use datafusion_functions_aggregate_common::{
3636
aggregate::groups_accumulator::accumulate::accumulate, stats::StatsType,
3737
};
3838
use datafusion_macros::user_doc;
39-
use std::hash::{DefaultHasher, Hash, Hasher};
4039
use std::mem::{size_of, size_of_val};
4140
use std::{fmt::Debug, sync::Arc};
4241

datafusion/functions-nested/src/array_has.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ use crate::make_array::make_array_udf;
3838
use crate::utils::make_scalar_function;
3939

4040
use std::any::Any;
41-
use std::hash::{DefaultHasher, Hash, Hasher};
4241
use std::sync::Arc;
4342

4443
// Create static instances of ScalarUDFs for each function

datafusion/functions-nested/src/cardinality.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ use datafusion_expr::{
3535
};
3636
use datafusion_macros::user_doc;
3737
use std::any::Any;
38-
use std::hash::{DefaultHasher, Hash, Hasher};
3938
use std::sync::Arc;
4039

4140
make_udf_expr_and_func!(

datafusion/functions-nested/src/concat.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
//! [`ScalarUDFImpl`] definitions for `array_append`, `array_prepend` and `array_concat` functions.
1919
2020
use std::any::Any;
21-
use std::hash::{DefaultHasher, Hash, Hasher};
2221
use std::sync::Arc;
2322

2423
use crate::make_array::make_array_inner;

datafusion/functions-nested/src/dimension.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ use arrow::datatypes::{
2323
DataType::{FixedSizeList, LargeList, List, Null, UInt64},
2424
UInt64Type,
2525
};
26+
use std::any::Any;
27+
2628
use datafusion_common::cast::{
2729
as_fixed_size_list_array, as_large_list_array, as_list_array,
2830
};
2931
use datafusion_common::{exec_err, utils::take_function_args, Result};
30-
use std::any::Any;
31-
use std::hash::{DefaultHasher, Hash, Hasher};
3232

3333
use crate::utils::{compute_array_dims, make_scalar_function};
3434
use datafusion_common::utils::list_ndims;

datafusion/functions-nested/src/distance.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ use datafusion_functions::{downcast_arg, downcast_named_arg};
4040
use datafusion_macros::user_doc;
4141
use itertools::Itertools;
4242
use std::any::Any;
43-
use std::hash::{DefaultHasher, Hash, Hasher};
4443
use std::sync::Arc;
4544

4645
make_udf_expr_and_func!(

datafusion/functions-nested/src/empty.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ use datafusion_expr::{
3131
};
3232
use datafusion_macros::user_doc;
3333
use std::any::Any;
34-
use std::hash::{DefaultHasher, Hash, Hasher};
3534
use std::sync::Arc;
3635

3736
make_udf_expr_and_func!(

0 commit comments

Comments
 (0)