From 5c0801413559e959662e63dab0da4713005b417a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 24 Jul 2022 13:17:07 +0800 Subject: [PATCH] Update arrow requirement from 17 to 18 (#64) * Update arrow requirement from 17 to 18 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](https://github.com/apache/arrow-rs/compare/17.0.0...18.0.0) --- updated-dependencies: - dependency-name: arrow dependency-type: direct:production ... Signed-off-by: dependabot[bot] * fix build error Change-Id: I252a9021ef57cbcb82e5122f30754415085718c8 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wangfenjin --- Cargo.toml | 2 +- libduckdb-sys/Cargo.toml | 2 +- src/row.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6052da55..13033679 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ memchr = "2.3" uuid = { version = "1.0", optional = true } smallvec = "1.6.1" cast = { version = "0.3", features = ["std"] } -arrow = { version = "17", default-features = false, features = ["prettyprint"] } +arrow = { version = "18", default-features = false, features = ["prettyprint"] } rust_decimal = "1.14" strum = { version = "0.24", features = ["derive"] } r2d2 = { version = "0.8.9", optional = true } diff --git a/libduckdb-sys/Cargo.toml b/libduckdb-sys/Cargo.toml index e441ae11..a3040051 100644 --- a/libduckdb-sys/Cargo.toml +++ b/libduckdb-sys/Cargo.toml @@ -28,4 +28,4 @@ cc = { version = "1.0", features = ["parallel"], optional = true } vcpkg = { version = "0.2", optional = true } [dev-dependencies] -arrow = { version = "17", default-features = false } \ No newline at end of file +arrow = { version = "18", default-features = false } \ No newline at end of file diff --git a/src/row.rs b/src/row.rs index 5a662416..6359809e 100644 --- a/src/row.rs +++ b/src/row.rs @@ -4,7 +4,7 @@ use std::sync::Arc; use super::{Error, Result, Statement}; use crate::types::{self, FromSql, FromSqlError, ValueRef}; -use arrow::array::{self, Array, StructArray}; +use arrow::array::{self, Array, BasicDecimalArray, StructArray}; use arrow::datatypes::*; use fallible_iterator::FallibleIterator; use fallible_streaming_iterator::FallibleStreamingIterator;