max() (aggregation function)
Returns the maximum value across the group.
- Can be used only in context of aggregation inside summarize
Syntax
max
(
Expr)
Arguments
- Expr: Expression that will be used for aggregation calculation.
Returns
The maximum value of Expr across the group.