You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/03/30 19:48:00 UTC

[jira] [Created] (ARROW-12158) [Rust][DataFusion]: Implement support for the `now()` sql function

Andrew Lamb created ARROW-12158:
-----------------------------------

             Summary: [Rust][DataFusion]: Implement support for the `now()` sql function
                 Key: ARROW-12158
                 URL: https://issues.apache.org/jira/browse/ARROW-12158
             Project: Apache Arrow
          Issue Type: New Feature
            Reporter: Andrew Lamb
            Assignee: Andrew Lamb


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




--
This message was sent by Atlassian Jira
(v8.3.4#803005)