Accumulation


🔹 Accumulation Concept

Accumulation is a process for:
➡️ adding up the values ​​incrementally (running total) of a field in a data stream.

So each record will carry the accumulated results of the previous record.

🔹 Parameter

🔹 Input & Output

🔹 How it works

For example, there is input data:
    id	views
    ---------
    1	10
    2	20
    3	5
    4	15
If we use Accumulator on the field views , then the result is:
    id	views	accum_views
    -----------------------
    1	10	10
    2	20	30
    3	5	35
    4	15	50