LN - Amazon Kinesis Data Analytics SQL Reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

LN

LN ( <number-expression> )

Returns the natural log (that is, the log with respect to base e) of the input argument. If the argument is negative or 0, an exception is raised. Returns null if the input argument is null.

For more information, see LOG10 and EXP.

Examples

Function Result

LN(1)

0.0

LN(10)

2.302585092994046

LN(2.5)

0.9162907318741551