[ https://issues.apache.org/jira/browse/ARROW-12391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson updated ARROW-12391: ------------------------------------ Fix Version/s: (was: 4.0.0) 5.0.0 > [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)