Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Change casting from timestamp to date/time to extract the value, instead of just truncating as we currently do (which rounds, giving incorrect answers, in some cases). This should also be a safe cast by default (unless you want to do something like cast from timestamp[ns] to time32[s] which may overflow).
This should behave like Postgres DATE/CAST(... as TIME), or Pandas Timestamp.date/Timestamp.time.
Attachments
Issue Links
- is a child of
-
ARROW-8894 [C++] C++ array kernels framework and execution buildout (umbrella issue)
-
- Open
-
- is duplicated by
-
ARROW-10213 [C++] Temporal cast from timestamp to date rounds instead of extracting date component
-
- Closed
-
- links to