LOG(x)

Learn how to use the LOG(X) numeric function in PlaidCloud Lakehouse. Returns the natural logarithm of x. Includes usage and syntax details.

Returns the natural logarithm of x. If x is less than or equal to 0.0E0, the function returns NULL.

Analyze Syntax

 func.log( <x> )

Analyze Examples

 func.log(2)

┌────────────────────┐
    func.log(2)     
├────────────────────┤
 0.6931471805599453 
└────────────────────┘

SQL Syntax

LOG( <x> )

SQL Examples

SELECT LOG(2);

┌────────────────────┐
       log(2)       
├────────────────────┤
 0.6931471805599453 
└────────────────────┘