Skip to content

Commit

Permalink
add tokio fs
Browse files Browse the repository at this point in the history
  • Loading branch information
yjshen committed Aug 26, 2021
1 parent 827072d commit 9275bdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datafusion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ chrono = "0.4"
async-trait = "0.1.41"
futures = "0.3"
pin-project-lite= "^0.2.0"
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "sync"] }
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "sync", "fs"] }
tokio-stream = "0.1"
log = "^0.4"
md-5 = { version = "^0.9.1", optional = true }
Expand Down
5 changes: 3 additions & 2 deletions datafusion/src/datasource/object_store/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@

//! Object store that represents the Local File System.
use std::fs::Metadata;
use std::sync::Arc;

use async_trait::async_trait;
use futures::{stream, AsyncRead, StreamExt};
use std::sync::Arc;

use crate::datasource::object_store::{
FileMeta, FileMetaStream, ObjectReader, ObjectStore,
};
use crate::error::DataFusionError;
use crate::error::Result;
use std::fs::Metadata;

#[derive(Debug)]
/// Local File System as Object Store.
Expand Down

0 comments on commit 9275bdf

Please sign in to comment.