0
有什麼簡單的方法可以將GroupBy的輸出重定向到基於組密鑰的多個輸出文件?Dataflow GroupBy - >基於密鑰的多個輸出
Bin.apply(GroupByKey.<String, KV<Long,Iterable<TableRow>>>create())
.apply(ParDo.named("Print Bins").of(...)
.apply(TextIO.Write.to(*Output file based on key*))
如果接收器是解決方案,請您分享一個示例代碼與我?
謝謝!