Group By Snap examples

Example Snaps used

Input and Output Documents Batched by the Group Name and Fields

In this pipeline, the Group By Fields Snap groups the input documents into a batch of output documents with the same group by the field property.

Input and Output Documents by Code

This example demonstrates how the Snap groups input documents based on field values.

Input and Output Documents in a Code

This example shows how the Group By N Snap processes a stream documents and groups them into fixed-size batches.

Input and Output Documents in a Pipeline

In this pipeline, the Group By N Snap groups the input documents into batches by the group size. The File Reader Snap passes the input documents to be parsed and sorted by the Group By N Snap.