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
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)out = SAMPLE({sampleRate = 2}, input}