tan function

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

Returns the tangent of expr.

Syntax

tan(expr)

Arguments

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

Returns

A DOUBLE.

Examples

> SELECT tan(0);
 0.0