Logarithm(对数函数(Logarithm))¶
Supported in: Batch, Faster, Streaming
Calculates the natural logarithm, ln(x), of a column.
Expression categories: Numeric
Declared arguments¶
- Expression: Expression to calculate natural logarithm of.
Expression\
Output type: Double
Examples¶
Example 1: Base case¶
Argument values:
- Expression: 10.123
Output: 2.3148100626166146
Example 2: Null case¶
Argument values:
- Expression: null
Output: null
中文翻译¶
对数函数(Logarithm)¶
支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)
计算某一列的自然对数 ln(x)。
表达式类别: 数值(Numeric)
声明的参数¶
- 表达式(Expression): 要计算自然对数的表达式。
表达式\<数值类型>
输出类型: 双精度浮点数(Double)
示例¶
示例 1:基础情况¶
参数值:
- 表达式: 10.123
输出: 2.3148100626166146
示例 2:空值情况¶
参数值:
- 表达式: null
输出: null