Skip to content

Conversation

fivetran-BradfordPaskewitz
Copy link
Collaborator

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

Platform Support:
Platform | Supported | Arguments | Return Type | Notes
Snowflake | Yes | Numeric or convertible | Numeric | Snowflake native COSH function
BigQuery | Yes | Numeric coercible to FLOAT64 | FLOAT64 | Native COSH function
Redshift | Yes | Numeric | Numeric | Based on PostgreSQL compatibility
PostgreSQL | Yes | Numeric | Numeric | Standard function
Databricks | Yes | Numeric | DOUBLE | Native COSH function
DuckDB | Yes | Numeric | Numeric | Native COSH function
TSQL | No | N/A | N/A | No native COSH, compute via formula

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.

LGTM
We could add the annotation inside the TYPE_TO_EXPRESSIONS like the rest of the static types.

@fivetran-BradfordPaskewitz
Copy link
Collaborator Author

Collaborator

good idea, done

@georgesittas georgesittas merged commit a96d50e into main Oct 7, 2025
6 checks passed
@georgesittas georgesittas deleted the brad/snowflake_cosh branch October 7, 2025 10:39
geooo109 pushed a commit that referenced this pull request Oct 7, 2025
Co-authored-by: Jo <46752250+georgesittas@users.noreply.github.com>
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