You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Pavel Tiunov (Jira)" <ji...@apache.org> on 2020/12/29 00:01:00 UTC

[jira] [Created] (ARROW-11055) [Rust] [DataFusion] Support date_trunc function

Pavel Tiunov created ARROW-11055:
------------------------------------

             Summary: [Rust] [DataFusion] Support date_trunc function
                 Key: ARROW-11055
                 URL: https://issues.apache.org/jira/browse/ARROW-11055
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Rust - DataFusion
            Reporter: Pavel Tiunov


Support date_trunc SQL function to truncate timestamps into the desired granularity similar to Postgres and other major SQL databases. For example
{code:java}
SELECT date_trunc(timestamp, 'day') as day, count(*) FROM orders GROUP BY day
{code}



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