跳转至

Max(Max(最大值))

Supported in: Batch, Faster, Streaming

Calculate maximum value in column.

Expression categories: Numeric

Declared arguments

  • Expression: The column of on which max is computed.
    Expression\

Output type: ComparableType

Examples

Example 1: Base case

Argument values:

  • Expression: values

Given input table:

values
2
4
3

Outputs: 4


Example 2: Null case

Argument values:

  • Expression: values

Given input table:

values
2
null
3

Outputs: 3



中文翻译


Max(最大值)

支持:批处理(Batch)、快速(Faster)、流处理(Streaming)

计算列中的最大值。

表达式类别: 数值(Numeric)

声明的参数

  • 表达式(Expression): 用于计算最大值的列。
    表达式\

输出类型: ComparableType

示例

示例 1:基础情况

参数值:

  • 表达式: values

给定输入表:

values
2
4
3

输出结果: 4


示例 2:空值情况

参数值:

  • 表达式: values

给定输入表:

values
2
null
3

输出结果: 3