diff --git a/rust/datafusion/src/datasource/csv.rs b/rust/datafusion/src/datasource/csv.rs index 4690b23610b28..6a8b200f1644e 100644 --- a/rust/datafusion/src/datasource/csv.rs +++ b/rust/datafusion/src/datasource/csv.rs @@ -19,11 +19,11 @@ use std::fs::File; -use std::string::String; -use std::sync::Arc; use arrow::csv; use arrow::datatypes::{Field, Schema}; use arrow::record_batch::RecordBatch; +use std::string::String; +use std::sync::Arc; use crate::datasource::{ScanResult, TableProvider}; use crate::error::Result; diff --git a/rust/datafusion/src/execution/physical_plan/csv.rs b/rust/datafusion/src/execution/physical_plan/csv.rs index eeb7b7462030a..c10dd3a1c5707 100644 --- a/rust/datafusion/src/execution/physical_plan/csv.rs +++ b/rust/datafusion/src/execution/physical_plan/csv.rs @@ -18,8 +18,8 @@ //! Execution plan for reading CSV files use std::fs; -use std::fs::File; use std::fs::metadata; +use std::fs::File; use std::sync::{Arc, Mutex}; use crate::error::{ExecutionError, Result};