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

[Rust][DataFusion] Implement date_trunc() function

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: