How to add the Query Model stage to a flow - 23.1

Spectrum Dataflow Designer Guide

Version
23.1
Language
English
Product name
Spectrum Technology Platform
Title
Spectrum Dataflow Designer Guide
First publish date
2007
Last updated
2024-05-09
Published on
2024-05-09T23:01:03.226155
  1. In the Enterprise Designer Stages Palette, expand Primary StagesDeployed StagesContext Graph, and drag the Query Model stages to the canvas.
  2. Connect the input port to a stage that defines input fields.
  3. Right-click the Query Model stage and click Options.
  4. Create your query on the Query tab.
    Note: This step can be completed before or after the Fields tab is complete.
  5. Click the Fields tab.
  6. Click Add to open the Add Input Field dialog box.
  7. Use the Fields drop-down and the Add button to select the fields you want to query in the model.
    The fields available for selection depend on the fields assigned in the dataflow input stage. Spectrum supports both simple and complex data types; you can use fields deep within the hierarchical structure of your input file in your query.
  8. Click Close when you're done adding input fields.
  9. Click Add to open the Add Output Field dialog box.
  10. Select the type of output field you want to add from the Type drop-down box.
    For information about supported data types, see Output field data types (Query Model).
    You can also add a new, user-defined, custom data type if necessary. Among other types of data, a new type can be a list of any defined data type (though for string, double, integer, long, float, or Boolean types you would select that type from the drop-down options and click the List check box). You can also select an output field based on entities and relationships in your model. If you create an output field this way, Query Model will auto-populate the schema for you. This would result in you building up the fields' child rows and assigning data as you go.
  11. Specify a name for the output field you want to add in the Name field.
  12. Click the List check box if you created a custom data type in the form of a list.
  13. When you are done adding output fields, click Close.
  14. Click OK.