-
Notifications
You must be signed in to change notification settings - Fork 710
Open
Labels
good first issueGood for newcomersGood for newcomersopen to contributionIssues that are open to contribution.Issues that are open to contribution.type/featureType: New feature.Type: New feature.
Milestone
Description
Is your feature request related to a problem? Please describe.
Currently, there is no easy way to create an interval from integer values. The only option that I have found is to first cast those integers into strings.
For example, if I wanted to create an interval of 10 days, I need to run something like:
select format('%s day', some_col)::interval
Describe the solution you'd like
Ideally, we would support the solution provided by Postgres:
make_interval(days => some_col)
As specified here: https://www.postgresql.org/docs/current/functions-datetime.html
Describe alternatives you've considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersopen to contributionIssues that are open to contribution.Issues that are open to contribution.type/featureType: New feature.Type: New feature.