SQL Consumer operator reads from a specified database using native SQL. This operator produces a structured output, and you need to connect it to other operators from Structured Data Operators category.
Procedure
- Start the SAP Data Intelligence Modeler.
- In the navigation pane, select the Graphs tab.
- Choose (Create Graph).
The application opens an empty graph editor in the same window, where you can define your graph. A graph can contain a single operator or a network of operators based on the business requirement.
- In the Operators tab, double-click the Structured SQL Consumer operator (or drag and drop it to the graph editor) to add it as a process in the graph.
- To open the editor of the Structured SQL Consumer operator, double-click the operator.
- Configure the Service and Connection properties.
- Write an SQL statement in the SQL Editor dialog.
- In the graph editor, select the operator and choose
(Open Configuration) to define the other required configurations of the operator in the configuration panel.
- Add any producer operator form the Strutured Data Operators category to the graph.
- Connect the output port of the Structured SQL Consumer operator to the producer operator.
- To control the stop of the graph execution, add the Graph Terminator operator at the end of the graph.
- Connect the output port of the producer operator to the Graph Terminator operator.
- Save and execute the graph.