Skip to content

Commit c9d32e5

Browse files
Update arrow requirement from 18 to 19 (#71)
* Update arrow requirement from 18 to 19 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@18.0.0...19.0.0) --- updated-dependencies: - dependency-name: arrow dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * fix clippy error Change-Id: I3ae978a6a8a039feb9748defbd8deac4971fa1f9 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wangfenjin <[email protected]>
1 parent 80f6f90 commit c9d32e5

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 = "18", default-features = false, features = ["prettyprint"] }
50+
arrow = { version = "19", default-features = false, features = ["prettyprint"] }
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 = "18", default-features = false }
31+
arrow = { version = "19", default-features = false }

src/row.rs

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

478478
if array.is_null(row) {
479479
return ValueRef::Null;

0 commit comments

Comments
 (0)