Skip to content

Commit

Permalink
feat: add temporal subtract variant add const params
Browse files Browse the repository at this point in the history
  • Loading branch information
rok committed Oct 18, 2022
1 parent 49c3011 commit 154d027
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions extensions/functions_datetime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ scalar_functions:
description: Timezone string from IANA tzdb.
value: string
return: timestamp_tz
constant: true
- args:
- name: x
value: date
Expand All @@ -75,6 +76,7 @@ scalar_functions:
- name: y
value: interval_day
return: timestamp_tz
constant: true
- args:
- name: x
value: date
Expand Down Expand Up @@ -112,6 +114,12 @@ scalar_functions:
- name: y
value: interval_year
return: timestamp
- args:
- name: x
value: timestamp_tz
- name: y
value: interval_year
return: timestamp_tz
- args:
- name: x
value: timestamp_tz
Expand All @@ -121,6 +129,7 @@ scalar_functions:
description: Timezone string from IANA tzdb.
value: string
return: timestamp_tz
constant: true
- args:
- name: x
value: date
Expand Down

0 comments on commit 154d027

Please sign in to comment.