risingwavelabs / risingwave

SQL stream processing, analytics, and management. We decouple storage and compute to offer instant failover, dynamic scaling, speedy bootstrapping, and efficient joins.
https://www.risingwave.com/slack
Apache License 2.0
6.59k stars 538 forks source link

Tracking: date/time functions #8849

Open xiangjinwu opened 1 year ago

xiangjinwu commented 1 year ago

https://www.postgresql.org/docs/current/functions-datetime.html

Caveats:

proto ExprType 101..=108

Cast

Arithmetic operators

Basic

Formatting

Current

Nonstandard:

No support

Aggregate

Set Returning Functions

matanper commented 9 months ago

Is it possible to add to the list date_diff? Current alternative is taking the epoch and then subtracting by given unit you want:

(EXTRACT(EPOCH FROM date2 - date1) / 86400)::int
github-actions[bot] commented 4 days ago

This issue has been open for 60 days with no activity.

If you think it is still relevant today, and needs to be done in the near future, you can comment to update the status, or just manually remove the no-issue-activity label.

You can also confidently close this issue as not planned to keep our backlog clean. Don't worry if you think the issue is still valuable to continue in the future. It's searchable and can be reopened when it's time. 😄