From d41024b92e263a8088500b7e72a2d0b3f8d1ba34 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Thu, 19 Sep 2024 13:38:11 +0000 Subject: [PATCH] chore: clean up some unused imports --- crates/core/src/delta_datafusion/mod.rs | 2 +- crates/core/src/kernel/scalars.rs | 2 +- crates/core/src/storage/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/core/src/delta_datafusion/mod.rs b/crates/core/src/delta_datafusion/mod.rs index fb4101e83c..dde8537078 100644 --- a/crates/core/src/delta_datafusion/mod.rs +++ b/crates/core/src/delta_datafusion/mod.rs @@ -78,7 +78,7 @@ use crate::delta_datafusion::expr::parse_predicate_expression; use crate::delta_datafusion::schema_adapter::DeltaSchemaAdapterFactory; use crate::errors::{DeltaResult, DeltaTableError}; use crate::kernel::{ - Add, DataCheck, EagerSnapshot, Invariant, LogicalFile, Snapshot, StructTypeExt, + Add, DataCheck, EagerSnapshot, Invariant, Snapshot, StructTypeExt, }; use crate::logstore::LogStoreRef; use crate::table::builder::ensure_table_uri; diff --git a/crates/core/src/kernel/scalars.rs b/crates/core/src/kernel/scalars.rs index 4218ba0190..a587fdc7cc 100644 --- a/crates/core/src/kernel/scalars.rs +++ b/crates/core/src/kernel/scalars.rs @@ -1,5 +1,5 @@ //! Auxiliary methods for dealing with kernel scalars -use std::{cmp::Ordering, fmt::Debug}; +use std::cmp::Ordering; use arrow_array::Array; use arrow_schema::TimeUnit; diff --git a/crates/core/src/storage/mod.rs b/crates/core/src/storage/mod.rs index f712db435d..0ad1435d1c 100644 --- a/crates/core/src/storage/mod.rs +++ b/crates/core/src/storage/mod.rs @@ -49,7 +49,7 @@ fn io_rt(config: Option<&RuntimeConfig>) -> &Runtime { } else { RuntimeBuilder::new_current_thread() }; - let mut builder = builder.worker_threads(config.worker_threads); + let builder = builder.worker_threads(config.worker_threads); let mut builder = if config.enable_io && config.enable_time { builder.enable_all() } else if !config.enable_io && config.enable_time {