spotify/scio

Reservoir sampling into a side output?

Aberta

#1.321 aberto em 23 de ago. de 2018

 (6 comentários) (0 reação) (0 responsável)Scala (529 forks)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (2.626 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador