spotify/scio

Reservoir sampling into a side output?

開放

#1,321 建立於 2018年8月23日

 (6 則留言) (0 個反應) (0 位負責人)Scala (529 個分叉)auto 404
enhancementgood first issue

倉庫指標

星標
 (2,626 顆星)
PR 合併指標
 (平均合併 7天 12小時) (30 天內合併 5 個 PR)

描述

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.

貢獻者指南