Skip to content

[Gandiva][C++] Add TRUNC function #31118

@asfimport

Description

@asfimport

Returns date truncated to the unit specified by the format. Supported formats: MONTH/MON/MM, YEAR/YYYY/YY. Example: trunc('2015-03-17', 'MM') = 2015-03-01.

Reporter: Johnnathan Rodrigo Pego de Almeida / @Johnnathanalmeida

PRs and other links:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions