Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns the angle in radians between the positive x-axis of a plane and the point specified by the coordinates (exprX
, exprY
).
atan2(exprY, exprX)
exprY
: An expression that evaluates to a numeric.exprX
: An expression that evaluates to a numeric.
A DOUBLE.
> SELECT atan2(0, 0);
1.0