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)

Reply via email to