Skip to content

Commit a7fe68c

Browse files
committed
fix build error
Change-Id: I4c8f760aa3328886f8ca9c6cbc8fe6239d34c2a2
1 parent 769cd4f commit a7fe68c

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 = "20", 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 = "20", 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)