Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12391

[Rust][DataFusion] Implement date_trunc() function

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.0.0
    • 5.0.0
    • Rust - DataFusion
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            velvia Evan Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment