Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SQL UNION が機能するのと同じ方法で、同じフィールド セット ('id, 'groupName, 'name) を持つ 2 つのパイプを結合する必要があります。Twitter Scaldingでそれを行うにはどうすればよいですか?
++ を使用してパイプを連結し、project を使用して id フィールドを削除します。
この回答が簡潔すぎる場合はお知らせください。詳しく説明します。
def ++[U >: T](その他: TypedPipe[U]): TypedPipe[U]
2 つの TypedPipes をマージします (順序は保証されません)。これは、グループ (または結合) が実行された場合にのみ実現されます。