from_dicts without strict=false can result in silent data loss with ragged data #18880
Open
2 tasks done
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
When calling
pl.from_dicts()
on ragged data, very common with JSON, polars can silently drop data ifstrict
is not set to false.Expected behavior
strict
should be irrelevant here. The issue is not column dtype but number of fields in each row of a struct column. Silent data loss should simply never happen.Installed versions
The text was updated successfully, but these errors were encountered: