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 sqrt(expr1 * expr1 + expr2 * expr2)
.
Syntax
hypot(expr1, expr2)
Arguments
expr1
: An expression that evaluates to a numeric.expr2
: An expression that evaluates to a numeric.
Returns
A DOUBLE.
Examples
> SELECT hypot(3, 4);
5.0