Skip to content

Commit 3c9bbd1

Browse files
committed
refactor: import arrow_cast rather than arrow
1 parent 0ed5721 commit 3c9bbd1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ rust-version = "1.77.1"
3939
anyhow = "1.0.72"
4040
apache-avro = "0.17"
4141
array-init = "2"
42-
arrow = { version = "53" }
4342
arrow-arith = { version = "53" }
4443
arrow-array = { version = "53" }
44+
arrow-cast = { version = "53" }
4545
arrow-ord = { version = "53" }
4646
arrow-schema = { version = "53" }
4747
arrow-select = { version = "53" }

crates/iceberg/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ tokio = ["dep:tokio"]
4444
anyhow = { workspace = true }
4545
apache-avro = { workspace = true }
4646
array-init = { workspace = true }
47-
arrow = { workspace = true }
4847
arrow-arith = { workspace = true }
4948
arrow-array = { workspace = true }
49+
arrow-cast = { workspace = true }
5050
arrow-ord = { workspace = true }
5151
arrow-schema = { workspace = true }
5252
arrow-select = { workspace = true }

crates/iceberg/src/arrow/record_batch_transformer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use std::collections::HashMap;
1919
use std::sync::Arc;
2020

21-
use arrow::compute::cast;
21+
use arrow_cast::cast;
2222
use arrow_array::{
2323
Array as ArrowArray, ArrayRef, BinaryArray, BooleanArray, Float32Array, Float64Array,
2424
Int32Array, Int64Array, NullArray, RecordBatch, StringArray,

0 commit comments

Comments
 (0)