davlee1972 opened a new issue, #45938: URL: https://github.com/apache/arrow/issues/45938
### Describe the bug, including details regarding any error messages, version, and platform. Casting timestamp in milliseconds to date64 in milliseconds is dropping the time portion.. ``` >>> import pyarrow as pa >>> >>> current_time = pa.scalar("2025-03-24 01:01:01.111") >>> current_time.cast("timestamp[ms]") <pyarrow.TimestampScalar: '2025-03-24T01:01:01.111'> # time portion is lost.. >>> current_time.cast("timestamp[ms]").cast("date64[ms]") <pyarrow.Date64Scalar: datetime.date(2025, 3, 24)> >>> current_time.cast("timestamp[ms]").cast("date64[ms]").cast("timestamp[ms]") <pyarrow.TimestampScalar: '2025-03-24T00:00:00.000'> ``` ### Component(s) C++, 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org