Skip to content

Commit 8eef484

Browse files
committed
feat: concurrent table scans
1 parent c58e69d commit 8eef484

File tree

6 files changed

+575
-209
lines changed

6 files changed

+575
-209
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ itertools = "0.13"
6666
log = "^0.4"
6767
mockito = "^1"
6868
murmur3 = "0.5.2"
69+
num_cpus = "1"
6970
once_cell = "1"
7071
opendal = "0.48"
7172
ordered-float = "4.0.0"

crates/iceberg/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ fnv = { workspace = true }
6161
futures = { workspace = true }
6262
itertools = { workspace = true }
6363
murmur3 = { workspace = true }
64+
num_cpus = { workspace = true }
6465
once_cell = { workspace = true }
6566
opendal = { workspace = true }
6667
ordered-float = { workspace = true }

crates/iceberg/src/error.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,12 @@ define_from_err!(
331331
"Failed to read a Parquet file"
332332
);
333333

334+
define_from_err!(
335+
futures::channel::mpsc::SendError,
336+
ErrorKind::Unexpected,
337+
"Failed to send a message to a channel"
338+
);
339+
334340
define_from_err!(std::io::Error, ErrorKind::Unexpected, "IO Operation failed");
335341

336342
/// Converts a timestamp in milliseconds to `DateTime<Utc>`, handling errors.

0 commit comments

Comments
 (0)