Plus
Description
Adding or concat two values with each other.
Number|Event + Number|Event
Two arguments of type Scalar<Numbers> added to each other result in a Scalar<Number> which is the sum of both arguments.
If one argument is a Scalar, and the other one a GroupedScalar, then the operation is performed by taking the Scalar value and the value of each group value, which results another GroupedScalar (it has same group size, as the one from the input argument).
If both arguments are GroupedScalar, then the operation is performed by taking values with same group key, which results in another Grouped Scalar (the group size is equal or smaller than the ones of the input arguments).
Time + Timespan
Adding a Scalar<Time> with a Scalar<Timespan> results in a Scalar<Time> which is a point in time after the Scalar<Time>.
Timespan + Timespan
Adding a Scalar<Timespan> to a Scalar<Time> results in a Scalar<Time> which is far more in the future as stated by the Scalar<Timespan>
Text + any
Adding a scalar or vector of type Boolean, Number, Time, Timespan, Text to a scalar or vector of type Text results in a new Scalar<Text with concatenated text elements. Non-text elements are implicitly formatted (see #format-or). Vector elements are joined with commas.
Examples
Calculating 1 + 2 equals 3
Adding 8 hours to the last full hour results in 13:00 o'clock, when the lastZeroHour was 5:00 o'clock.
Adding 30min to 1h results in 1h30m
Concat Text with the result of a function
Last updated