POW (Lakehouse v1)
Returns the value of x to the power of y.
Analyze Syntax
Section titled “Analyze Syntax”func.pow( <x, y> )Analyze Examples
Section titled “Analyze Examples”func.pow(-2, 2)
┌────────────────────┐│ func.pow((- 2), 2) │├────────────────────┤│ 4 │└────────────────────┘SQL Syntax
Section titled “SQL Syntax”POW( <x, y> )Aliases
Section titled “Aliases”SQL Examples
Section titled “SQL Examples”SELECT POW(-2, 2), POWER(-2, 2);
┌─────────────────────────────────┐│ pow((- 2), 2) │ power((- 2), 2) │├───────────────┼─────────────────┤│ 4 │ 4 │└─────────────────────────────────┘