Execute SQL query to retrieve data

In this example, we have a table named USER that stores user details. It has 3 columns: NAME, AGE and CITY. We will execute the query and retrieve users with age 60 with this pipeline.

Pipeline


SAP HANA Execute Pipeline

Configuration

We need to provide the query used to pull the data from USER table in SQL statement property. We will provide dynamic variable values from upstream Snap JSON Generator.


SAP HANA Execute Configuration

Output

Sample output looks like below:


SAP HANA Execute Output