spotify/scio

Reservoir sampling into a side output?

Aperta

#1321 aperta il 23 ago 2018

 (6 commenti) (0 reazioni) (0 assegnatari)Scala (529 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (2626 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Right now we have SCollection#sample which uses a Beam transform and is implemented as a global combine operation. It'll be nice to have a sample into side output variation that passes main input through while randomly reservoir sample them into a side input. We should also benchmark this approach against the Beam implementation.

Guida contributor