Skip to content

Commit 9cad33d

Browse files
Update arrow requirement from 19 to 20 (#72)
* Update arrow requirement from 19 to 20 Updates the requirements on [arrow](https://github.com/apache/arrow-rs) to permit the latest version. - [Release notes](https://github.com/apache/arrow-rs/releases) - [Changelog](https://github.com/apache/arrow-rs/blob/master/CHANGELOG.md) - [Commits](apache/arrow-rs@19.0.0...20.0.0) --- updated-dependencies: - dependency-name: arrow dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * fix build error Change-Id: I4c8f760aa3328886f8ca9c6cbc8fe6239d34c2a2 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wangfenjin <[email protected]>
1 parent c9d32e5 commit 9cad33d

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
@@ -47,7 +47,7 @@ memchr = "2.3"
4747
uuid = { version = "1.0", optional = true }
4848
smallvec = "1.6.1"
4949
cast = { version = "0.3", features = ["std"] }
50-
arrow = { version = "19", default-features = false, features = ["prettyprint"] }
50+
arrow = { version = "20", default-features = false, features = ["prettyprint", "ffi"] }
5151
rust_decimal = "1.14"
5252
strum = { version = "0.24", features = ["derive"] }
5353
r2d2 = { version = "0.8.9", optional = true }

libduckdb-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ cc = { version = "1.0", features = ["parallel"], optional = true }
2828
vcpkg = { version = "0.2", optional = true }
2929

3030
[dev-dependencies]
31-
arrow = { version = "19", default-features = false }
31+
arrow = { version = "20", default-features = false, features = ["ffi"] }

src/row.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ impl<'stmt> Row<'stmt> {
472472
}
473473
ValueRef::Double(array.value(row))
474474
}
475-
DataType::Decimal(..) => {
475+
DataType::Decimal128(..) => {
476476
let array = column.as_any().downcast_ref::<array::Decimal128Array>().unwrap();
477477

478478
if array.is_null(row) {

0 commit comments

Comments
 (0)