sin function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns the sine of expr.

Syntax

sin(expr)

Arguments

  • expr: An expression that evaluates to a numeric expressing the angle in radians.

Returns

A DOUBLE.

Examples

> SELECT sin(0);
 0.0