Creating and Modifying Union Queries

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.
    Note: To add additional inputs to the union object, you can use the Connector tool in the Palette or the Union icon (union_template.gif) in the shape toolbar.
  4. (Optional) Use the toggle stream.gif option to designate the union object as LOCAL or OUTPUT. By default, unions are OUTPUT.
Related concepts
Simple Queries
Related tasks
Creating and Modifying Filter Queries
Creating and Modifying Aggregate Queries
Creating and Modifying Compute Queries
Creating and Modifying Join Queries
Creating and Modifying Pattern Queries