WillAyd opened a new issue, #41896: URL: https://github.com/apache/arrow/issues/41896
### Describe the bug, including details regarding any error messages, version, and platform. Issue in title - behavior looks like it just truncates the time component of the datetime: ```python >>> import pyarrow as pa >>> import datetime >>> pa.scalar(datetime.datetime(2024, 1, 1, 1, 1, 1), pa.date32()) <pyarrow.Date32Scalar: datetime.date(2024, 1, 1)> ``` The silent truncation seems problematic though - should this just raise and force users to opt for `datetime.date` instead? cc @PedroVerardo who helped find this downstream in pandas ### Component(s) Python -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
