CumMax / Computation Layer
Calculate the running maximum of values in a column. Similar to pandas cummax() or running max in SQL.
For each position i:
Applications:
- Peak value tracking
- High watermark analysis
- Progressive maxima
Note: Ignores null values. Direction controlled by Reverse
parameter.
Table
0
0
Table
Transforms
[, ...]Select
columnThe column for cumulative maximum. Example with [1, 3, 2, 4]:
- Forward: [1, 3, 3, 4]
- Reverse: [4, 4, 4, 4]
Reverse
boolControls accumulation direction:
- false: scan from top to bottom
- true: scan from bottom to top
AsColumn
nameName for the new column. If not provided, the system generates a unique name. If AsColumn
matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.