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

[Rust][DataFusion]: Implement support for the `now()` sql function

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Rust, Rust - DataFusion
    • None

    Description

      Usecase: selecting the last 5 minutes of data

      I would like to be able to run queries like this:
      ```
      select * from cpu where time > now() - interval '3' minute;
      ```

      Proposed implementation:
      follow postgres functions: https://www.postgresql.org/docs/current/functions-datetime.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            alamb Andrew Lamb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: