Skip to content

[Rust] [DataFusion] Support date_trunc function #26970

@asfimport

Description

@asfimport

Support date_trunc SQL function to truncate timestamps into the desired granularity similar to Postgres and other major SQL databases. For example

SELECT date_trunc(timestamp, 'day') as day, count(*) FROM orders GROUP BY day

Reporter: Pavel Tiunov

PRs and other links:

Note: This issue was originally created as ARROW-11055. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions