Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Nov 22, 2024
Send us feedback
cos
Applies to: Databricks SQL Databricks Runtime
Returns the cosine of expr.
expr
cos(expr)
expr: An expression that evaluates to a numeric expressing the angle in radians.
A DOUBLE.
> SELECT cos(0); 1.0 > SELECT cos(pi()); -1.0
sin function
tan function
acos function
cosh function