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

[Rust] [DataFusion] Support date_trunc function

    XMLWordPrintableJSON

Details

    Description

      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
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paveltiunov Pavel Tiunov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h