refactor: remove unused code (#4742)
parent
5a95da7327
commit
988bd38e93
|
@ -3505,7 +3505,6 @@ dependencies = [
|
|||
"prost",
|
||||
"schema",
|
||||
"snafu",
|
||||
"tempfile",
|
||||
"thiserror",
|
||||
"thrift",
|
||||
"tokio",
|
||||
|
|
|
@ -25,7 +25,6 @@ predicate = { path = "../predicate" }
|
|||
prost = "0.10"
|
||||
schema = { path = "../schema" }
|
||||
snafu = "0.7"
|
||||
tempfile = "3.1.0"
|
||||
thrift = "0.13"
|
||||
tokio = { version = "1.18", features = ["macros", "parking_lot", "rt", "rt-multi-thread", "sync"] }
|
||||
uuid = { version = "0.8", features = ["v4"] }
|
||||
|
|
|
@ -49,11 +49,6 @@ pub enum UploadError {
|
|||
/// Errors during Parquet file download & scan.
|
||||
#[derive(Debug, Error)]
|
||||
pub enum ReadError {
|
||||
/// Failed to create the temporary Parquet file on disk to which the
|
||||
/// downloaded parquet bytes will be spilled.
|
||||
#[error("failed to create temporary file: {0}")]
|
||||
TempFile(std::io::Error),
|
||||
|
||||
/// Error writing the bytes fetched from object store to the temporary
|
||||
/// parquet file on disk.
|
||||
#[error("i/o error writing downloaded parquet: {0}")]
|
||||
|
@ -66,10 +61,6 @@ pub enum ReadError {
|
|||
/// An error reading the downloaded Parquet file.
|
||||
#[error("invalid parquet file: {0}")]
|
||||
Parquet(#[from] parquet::errors::ParquetError),
|
||||
|
||||
/// Cannot poll arrow blocking wrapper
|
||||
#[error("cannot poll arrow blocking wrapper: {0}")]
|
||||
Poll(#[from] tokio::sync::oneshot::error::RecvError),
|
||||
}
|
||||
|
||||
/// The [`ParquetStorage`] type encapsulates [`RecordBatch`] persistence to an
|
||||
|
|
Loading…
Reference in New Issue