LOG2 (Lakehouse v2)
Returns the base-2 logarithm of a number.
Analyze Syntax
Section titled “Analyze Syntax”func.log2(<x>)Analyze Examples
Section titled “Analyze Examples”func.log2(8)
┌─────┐│ 3.0 │└─────┘SQL Syntax
Section titled “SQL Syntax”LOG2(<x>)SQL Examples
Section titled “SQL Examples”SELECT LOG2(8);
┌─────┐│ 3.0 │└─────┘