FACTORIAL(Lakehouse v1)
x の階乗を返します。x が 0 以下の場合、この関数は 0 を返します。
Analyze 構文
Section titled “Analyze 構文”func.factorial( <x> )Analyze の例
Section titled “Analyze の例”func.factorial(5)
┌───────────────────┐│ func.factorial(5) │├───────────────────┤│ 120 │└───────────────────┘SQL 構文
Section titled “SQL 構文”FACTORIAL( <x> )SQL の例
Section titled “SQL の例”SELECT FACTORIAL(5);
┌──────────────┐│ factorial(5) │├──────────────┤│ 120 │└──────────────┘