from_any_values_and_dtype converts AnyValue::Struct to null #18800
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
rust
Related to Rust Polars
Checks
Reproducible example
Log output
No response
Issue description
The function
Series::from_any_values_and_dtype
assumes allDataType::Struct
type holdsAnyValue::StructOwned
, and dismisses theAnyValue::Struct
type and it returnsnull
.polars/crates/polars-core/src/series/any_value.rs
Line 162 in 25f84e4
polars/crates/polars-core/src/series/any_value.rs
Line 693 in 25f84e4
polars/crates/polars-core/src/series/any_value.rs
Lines 726 to 729 in 25f84e4
Expected behavior
not returning null and handling the AnyValue::Struct type
Installed versions
0.43.1
The text was updated successfully, but these errors were encountered: