Creating and Modifying Simple Queries: Union

Use a union object to combine two or more input streams or windows into a single output. All inputs must have matching schema.

  1. In the Visual editor Palette, in Streams and Windows, select Union (union_template.gif).
  2. Select a location in the diagram and click to add the shape.
  3. Attach the union object to two or more inputs, which can be streams, windows, or Flex operators.
  4. (Optional) Use the toggle stream.gif option to designate the union object as LOCAL or OUTPUT.
Related concepts
Simple Queries
Related tasks
Creating and Modifying Simple Queries: Filter
Creating and Modifying Simple Queries: Aggregate
Creating and Modifying Simple Queries: Compute
Creating and Modifying Simple Queries: Join
Creating and Modifying Simple Queries: Pattern