You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/04/26 13:34:02 UTC
[jira] [Commented] (ARROW-12391) [Rust][DataFusion] Implement
date_trunc() function
[ https://issues.apache.org/jira/browse/ARROW-12391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17332410#comment-17332410 ]
Andrew Lamb commented on ARROW-12391:
-------------------------------------
Migrated to github: https://github.com/apache/arrow-datafusion/issues/203
> [Rust][DataFusion] Implement date_trunc() function
> --------------------------------------------------
>
> Key: ARROW-12391
> URL: https://issues.apache.org/jira/browse/ARROW-12391
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Rust - DataFusion
> Affects Versions: 3.0.0
> Reporter: Evan Chan
> Priority: Major
> Fix For: 5.0.0
>
>
> Implement the date_trunc function, as described in this PostGres manual:
> [https://www.postgresql.org/docs/current/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC]
>
> This would allow for the following use cases to be solved:
> * casting of timestamps to other resolutions, such as millis and micros
> * rounding dates/timestamps
> It also allows the user to explicitly allow the truncation of timestamp precision.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)