diff --git a/Cargo.lock b/Cargo.lock index ade5517d93..514becbb94 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1772,6 +1772,7 @@ dependencies = [ "daft-table", "futures", "memchr", + "parking_lot", "pyo3", "rayon", "rstest", diff --git a/src/daft-csv/Cargo.toml b/src/daft-csv/Cargo.toml index ca74b9c2ec..0795719556 100644 --- a/src/daft-csv/Cargo.toml +++ b/src/daft-csv/Cargo.toml @@ -14,6 +14,7 @@ daft-io = {path = "../daft-io", default-features = false} daft-table = {path = "../daft-table", default-features = false} futures = {workspace = true} memchr = "2.7.2" +parking_lot = "0.12.3" pyo3 = {workspace = true, optional = true} rayon = {workspace = true} serde = {workspace = true} diff --git a/src/daft-csv/src/lib.rs b/src/daft-csv/src/lib.rs index ce1a3615a9..4a738ab2a8 100644 --- a/src/daft-csv/src/lib.rs +++ b/src/daft-csv/src/lib.rs @@ -27,8 +27,6 @@ pub enum Error { #[snafu(display("{source}"))] IOError { source: daft_io::Error }, #[snafu(display("{source}"))] - StdIOError { source: std::io::Error }, - #[snafu(display("{source}"))] CSVError { source: csv_async::Error }, #[snafu(display("Invalid char: {}", val))] WrongChar {