rheem-ecosystem / rheem

Rheem - a cross-platform data processing system
https://rheem-ecosystem.github.io
5 stars 0 forks source link

Introduce dedicated "repeat n-times" loop #12

Closed luckyasser closed 7 years ago

luckyasser commented 7 years ago

From @sekruse on July 7, 2016 13:38

As of now, we can use the LoopOperator to emulate a loop that repeats the loop body a given number of times. However, this bloats the actually executed plans by the ExecutionOperators necessary to do the counting, thereby introducing performance overhead, making the optimization harder, and complicating debugging.

With the "repeat n-times" being such a recurring programming pattern (and so far the only real use case for the LoopOperator), it is worthwhile to create a dedicated RepeatLoopOperator (or similar).

Copied from original issue: daqcri/rheem#2