You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/08/04 12:26:00 UTC

[jira] [Created] (ARROW-13549) [C++] Implement kernel to extract date/time from timestamp

David Li created ARROW-13549:
--------------------------------

             Summary: [C++] Implement kernel to extract date/time from timestamp
                 Key: ARROW-13549
                 URL: https://issues.apache.org/jira/browse/ARROW-13549
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: David Li


Add a kernel that can extract just the date or the time from a timestamp.

This should behave like Postgres DATE/CAST(... as TIME), or Pandas Timestamp.date/Timestamp.time.

Extracting the date appears to be doable with an unsafe cast, but it might be more convenient to have an explicit kernel (and an unsafe cast, at least in the Python bindings, disables all checks, not just the check we care about).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)