Cast from pl.Date
to pl.Datetime
silently returns incorrect value when new dtype cannot hold value
#16039
Open
2 tasks done
Labels
A-timeseries
Area: date/time functionality
bug
Something isn't working
P-medium
Priority: medium
python
Related to Python Polars
Checks
Reproducible example
When attempting to cast
pl.Date
topl.Datetime("ns")
, the date changes, when perhaps we should raise instead:Installed versions
The text was updated successfully, but these errors were encountered: