diff --git a/Cargo.toml b/Cargo.toml index f297b131..72c1b6a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,7 @@ memchr = "2.3" uuid = { version = "1.0", optional = true } smallvec = "1.6.1" cast = { version = "0.3", features = ["std"] } -arrow = { version = "36", default-features = false, features = ["prettyprint", "ffi"] } +arrow = { version = "37", default-features = false, features = ["prettyprint", "ffi"] } 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 4ee5d3e0..91d77e5e 100644 --- a/libduckdb-sys/Cargo.toml +++ b/libduckdb-sys/Cargo.toml @@ -39,4 +39,4 @@ serde_json = { version = "1.0" } tar = "0.4.38" [dev-dependencies] -arrow = { version = "36", default-features = false, features = ["ffi"] } +arrow = { version = "37", default-features = false, features = ["ffi"] } diff --git a/src/vtab/arrow.rs b/src/vtab/arrow.rs index e4ba540b..6eae3420 100644 --- a/src/vtab/arrow.rs +++ b/src/vtab/arrow.rs @@ -146,7 +146,7 @@ pub fn to_duckdb_type_id(data_type: &DataType) -> Result Varchar, DataType::List(_) | DataType::LargeList(_) | DataType::FixedSizeList(_, _) => List, DataType::Struct(_) => Struct, - DataType::Union(_, _, _) => Union, + DataType::Union(_, _) => Union, DataType::Dictionary(_, _) => todo!(), // duckdb/src/main/capi/helper-c.cpp does not support decimal // DataType::Decimal128(_, _) => Decimal,