pl.lit(None, dtype=pl.Struct({"a": pl.Int64()}))
gives {'a': None}
, not None
#16696
Closed
2 tasks done
Checks
Reproducible example
Log output
No response
Issue description
I am running into this in this PR for ibis.
But perhaps I am not understanding polars' data model for structs, maybe only field values can be NULL, but not the struct in its entirety? duckdb, apache arrow, and maybe others support the entire thing being NULL so thats why I'm thinking that's possible.
Expected behavior
I would expect this to result in a top level
NULL
.Installed versions
The text was updated successfully, but these errors were encountered: