Last Updated: Feb 14, 2022
Dataset node is used to retrieve data from Datasets using a query. The query editor supports ANSI SQL SELECT queries.
For Jiffy table and Document table, it is recommended to use Jiffy Select and Jiffy Insert/Update nodes.
`
JiffyTableName`
`
CsvDatasetName.csv`
To select the columns from EmployeeDetails dataset where the value in the column LastName is Smith, the query is:
Select * from `EmployeeDetails.csv` where LastName ='Smith'
To select the columns from EmployeeDetails Jiffy Table where the value in the column LastName is Smith, the query is: Select * from {{EmployeeDetailsTable}} where LastName ='Smith'
Parameters in the query can be passed in the following format:
Select * from `DatasetTest.csv`where Value = '$[param]'
- Get the sum of column N1 in the Table1: SELECT sum(N1) FROM {{Table1}}
- Extract the execution state of all the records from Table1: SELECT [Execution State] from {{Table1}}
- Get the minimum, maximum and average of the column N1 from the Table1: SELECT min(N1), max(N1), avg(N1) FROM {{Table1}}
New Query Engine option is applicable only to Jiffy Tables.
- The symbol used is backquote` and not single quote'
- No semicolon is required at the end of the query.
The query can be processed in two ways:
Row Wise Processing: Records in the dataset are processed row by row.
Specify the following details:
This is mandatory and the specified column names should be the same as the name of the columns in the dataset.
Use Row Wise Processing when:
- You need each row in the dataset to be fetched as an iteration for further automation.
- You need to process less than 1000 records.
Row limit for Row wise Processing is 1000.
Bulk Processing: Records in the dataset are processed in bulk.
Specify the following details:
Use Bulk Processing when:
- All the records in the dataset must be used for further automation as a Datatable.
- You need to process more than 1000 records.
Row limit for Bulk Processing is 5000.
After executing the task, the Result of Execution window displays the following tabs: