sin function (Databricks SQL)

Returns the sine of expr.

Syntax

sin(expr)

Arguments

  • expr: An expression that evaluates to a numeric.

Returns

A DOUBLE.

Examples

> SELECT sin(0);
 0.0