This operator can reduce load by throwing away tuples.
Parameter
sampleRate
: The rate elements are send (i.e. 1 means, send every element, 10 means, send every 10th element)
Example
Code Block | ||
---|---|---|
| ||
out = SAMPLE({sampleRate = 2}, input} |
This operator can reduce load by throwing away tuples.
sampleRate
: The rate elements are send (i.e. 1 means, send every element, 10 means, send every 10th element)Code Block | ||
---|---|---|
| ||
out = SAMPLE({sampleRate = 2}, input} |