FACTORIAL (Lakehouse v1)
Returns the factorial logarithm of x. If x is less than or equal to 0, the function returns 0.
Analyze Syntax
Section titled “Analyze Syntax”func.factorial( <x> )Analyze Examples
Section titled “Analyze Examples”func.factorial(5)
┌───────────────────┐│ func.factorial(5) │├───────────────────┤│ 120 │└───────────────────┘SQL Syntax
Section titled “SQL Syntax”FACTORIAL( <x> )SQL Examples
Section titled “SQL Examples”SELECT FACTORIAL(5);
┌──────────────┐│ factorial(5) │├──────────────┤│ 120 │└──────────────┘