Skip to content

Commit 80a492c

Browse files
Update arrow requirement from 36 to 37 (#146)
* Update arrow requirement from 36 to 37 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/commits) --- updated-dependencies: - dependency-name: arrow dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * fix error --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wangfenjin <[email protected]>
1 parent 52e8c0c commit 80a492c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ memchr = "2.3"
5555
uuid = { version = "1.0", optional = true }
5656
smallvec = "1.6.1"
5757
cast = { version = "0.3", features = ["std"] }
58-
arrow = { version = "36", default-features = false, features = ["prettyprint", "ffi"] }
58+
arrow = { version = "37", default-features = false, features = ["prettyprint", "ffi"] }
5959
rust_decimal = "1.14"
6060
strum = { version = "0.24", features = ["derive"] }
6161
r2d2 = { version = "0.8.9", optional = true }

libduckdb-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ serde_json = { version = "1.0" }
3939
tar = "0.4.38"
4040

4141
[dev-dependencies]
42-
arrow = { version = "36", default-features = false, features = ["ffi"] }
42+
arrow = { version = "37", default-features = false, features = ["ffi"] }

src/vtab/arrow.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ pub fn to_duckdb_type_id(data_type: &DataType) -> Result<LogicalTypeId, Box<dyn
146146
DataType::Utf8 | DataType::LargeUtf8 => Varchar,
147147
DataType::List(_) | DataType::LargeList(_) | DataType::FixedSizeList(_, _) => List,
148148
DataType::Struct(_) => Struct,
149-
DataType::Union(_, _, _) => Union,
149+
DataType::Union(_, _) => Union,
150150
DataType::Dictionary(_, _) => todo!(),
151151
// duckdb/src/main/capi/helper-c.cpp does not support decimal
152152
// DataType::Decimal128(_, _) => Decimal,

0 commit comments

Comments
 (0)