diff --git a/Cargo.toml b/Cargo.toml index 2ecf9fbd..68412b25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,8 +40,8 @@ memchr = "2.3" num = { version = "0.4", default-features = false } num-integer = "0.1.46" pkg-config = "0.3.24" -polars = "0.43.1" -polars-core = "0.43.1" +polars = "0.35.4" +polars-core = "0.35.4" pretty_assertions = "1.4.0" prettyplease = "0.2.20" proc-macro2 = "1.0.56" diff --git a/crates/duckdb/src/raw_statement.rs b/crates/duckdb/src/raw_statement.rs index 40a836e5..a99f8022 100644 --- a/crates/duckdb/src/raw_statement.rs +++ b/crates/duckdb/src/raw_statement.rs @@ -140,7 +140,7 @@ impl RawStatement { let arrow2_field = arrow2::ffi::import_field_from_c(&ffi_arrow2_schema).expect("Failed to import arrow2 Field from C"); - let import_arrow2_array = arrow2::ffi::import_array_from_c(ffi_arrow2_array, arrow2_field.dtype); + let import_arrow2_array = arrow2::ffi::import_array_from_c(ffi_arrow2_array, arrow2_field.data_type); if let Err(err) = import_arrow2_array { // When array is empty, import_array_from_c returns error with message