Running
data class Running(val metric: String, val order: Sort, val within: List<String> = emptyList(), val frame: Int? = null, val function: RunningFunction = RunningFunction.SUM) : DerivedExpression.Window
metric accumulated along order over the groups that share this group's within keys: the function of every group up to and including this one, or of the last frame of them. Groups tied on order follow the remaining group keys ascending, in groupBy order. null when every value in the frame is null. SUM accepts only COUNT and SUM; AVG, a moving average with frame, accepts any numeric metric.