Skip to content

Commit

Permalink
Add range fetch failure logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkzinzow committed Feb 6, 2024
1 parent 871ec40 commit 8254ef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/daft-parquet/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![feature(async_closure)]
#![feature(let_chains)]
#![feature(result_flattening)]
#![feature(result_option_inspect)]
use common_error::DaftError;
use snafu::Snafu;

Expand Down
1 change: 1 addition & 0 deletions src/daft-parquet/src/read_planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ impl RangeCacheEntry {
.await
.map_err(|e| daft_io::Error::JoinError { source: e })
.flatten()
.inspect_err(|e| log::warn!("Range fetch error: {}", e))
.map_err(Arc::new);
let sliced = v
.as_ref()
Expand Down

0 comments on commit 8254ef2

Please sign in to comment.