Skip to content

Conversation

fivetran-BradfordPaskewitz
Copy link
Collaborator

Documentation: https://docs.snowflake.com/en/sql-reference/functions/dateadd

Platform Support:
Platform | Supported | Argument Type | Return Type
Snowflake | Yes | String (date part), Integer (amount), Date/Timestamp (input date) | Date/Timestamp
BigQuery | Yes (as DATE_ADD) | Date, Interval (INTEGER), String (date part granularity) | Date
Redshift | Yes | String (date part), Integer (amount), Date/Timestamp | Date/Timestamp
PostgreSQL | No (use INTERVAL addition or functions like DATE + INTERVAL or AGE) | N/A | N/A
Databricks | Yes | Date/Timestamp, Integer/Interval | Date/Timestamp
DuckDB | No (use INTERVAL addition: DATE + INTERVAL) | N/A | N/A
TSQL | Yes | String (date part), Integer (amount), Date/Timestamp | Date/Timestamp

Copy link
Collaborator

@geooo109 geooo109 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the tests cover all the possible types from here ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants