Datasource Query (Stream)
Executes a SQL SELECT query and streams rows one-by-one, invoking the loop body for each row.
Pure Function
No
Execute Inputs
Execution
INPUTExecution Input.
Execute Outputs
Process Row
OUTPUTExecutes once for every row returned by the query.
Loops
Complete
OUTPUTFires when the data is successfully inserted into the cube.
Data Inputs
Datasource
INPUTName of the datasource to use.
Query
INPUTThe SELECT query to execute.
Parameters
INPUTOptional list of parameters to substitute for ? placeholders.
Data Outputs
Row
OUTPUTmap
The current row being streamed from the query result.
Multiple
Index
OUTPUTinteger
The zero-based index of the current row in the result set. Starts at 0 and increments with each row streamed.
Settings
Throw on SQL Error
BOOLEANIf true, will throw an error if a SQL error occurs during query.
Default: true
Fetch Size
INTEGERPreferred JDBC fetch size for streaming. -1 for JDBC driver default.
Default: 200
Debug
STRINGBreak on node when executing.
Default: No
Options:
NoBeforeInputsBeforeProcessingAfterProcessing