Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Nov 22, 2024
Send us feedback
hypot
Applies to: Databricks SQL Databricks Runtime
Returns sqrt(expr1 * expr1 + expr2 * expr2).
sqrt(expr1 * expr1 + expr2 * expr2)
hypot(expr1, expr2)
expr1: An expression that evaluates to a numeric.
expr1
expr2: An expression that evaluates to a numeric.
expr2
A DOUBLE.
> SELECT hypot(3, 4); 5.0
cbrt function
sqrt function