Skip to content

Commit

Permalink
fix incompatiblity with newer polars version
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Oct 4, 2024
1 parent 488e769 commit 3f4297f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/duckdb/src/raw_statement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.dtypegst);
let import_arrow2_array = arrow2::ffi::import_array_from_c(ffi_arrow2_array, arrow2_field.dtype);

if let Err(err) = import_arrow2_array {
// When array is empty, import_array_from_c returns error with message
Expand Down

0 comments on commit 3f4297f

Please sign in to comment.