duckdb / duckdb-rs

Ergonomic bindings to duckdb for Rust
MIT License
428 stars 87 forks source link

Set nulls correctly for all type of arrays/vectors #344

Open y-f-u opened 2 weeks ago

y-f-u commented 2 weeks ago

This sets the correct nulls for strings, struct, list, array types when copying data from arrow array to duckdb vectors.

When inserting nulls to columns with these types, the null will be correctly set instead of the default value like: "", {k: ""}, etc.