Previous
class Previous @InternalWowApi constructor(val metric: String, val along: String, val shift: Int = 1, val period: AggregationDateUnit? = null) : DerivedExpression.Window
metric of the group shift steps earlier along the DATE_HISTOGRAM group along, every other group key equal: a step is one bucket of along, the bucket before in its sequence of buckets (across a daylight-saving transition too, never the bucket itself), or one period (such as YEAR for the same period last year: the bucket holding the same local time then). The earlier groups are read over the query's own range of along's field, shifted alike. null when that group has no records.
Constructors
Link copied to clipboard