Open eitsupi opened 2 hours ago
I didn't know that was possible!
The fix is probably here:
Thanks for quick response.
Yeah, using as.integer()
here seems to execute ceil, so it doesn't seem to convert as intended.
(I noticed this because the same thing happened when I cast f64 to date32 type in polars)
I noticed that the conversion of Date type with sub-day precision is not correct.
arrow
package has the same problem (apache/arrow#44502).Created on 2024-10-22 with reprex v2.1.1