mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Merge branch 'feature/ups-etl-fix' into feature/sprint-7-integration
This commit is contained in:
@ -49,7 +49,7 @@ public class BasicETLExtractFunction implements BackendStep
|
|||||||
public void run(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) throws QException
|
public void run(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) throws QException
|
||||||
{
|
{
|
||||||
String tableName = runBackendStepInput.getValueString(BasicETLProcess.FIELD_SOURCE_TABLE);
|
String tableName = runBackendStepInput.getValueString(BasicETLProcess.FIELD_SOURCE_TABLE);
|
||||||
LOG.info("Start query on table: " + runBackendStepInput.getTableName());
|
LOG.info("Start query on table: " + tableName);
|
||||||
|
|
||||||
QueryInput queryInput = new QueryInput(runBackendStepInput.getInstance());
|
QueryInput queryInput = new QueryInput(runBackendStepInput.getInstance());
|
||||||
queryInput.setSession(runBackendStepInput.getSession());
|
queryInput.setSession(runBackendStepInput.getSession());
|
||||||
@ -68,6 +68,6 @@ public class BasicETLExtractFunction implements BackendStep
|
|||||||
QueryOutput queryOutput = queryAction.execute(queryInput);
|
QueryOutput queryOutput = queryAction.execute(queryInput);
|
||||||
|
|
||||||
runBackendStepOutput.setRecords(queryOutput.getRecords());
|
runBackendStepOutput.setRecords(queryOutput.getRecords());
|
||||||
LOG.info("Query on table " + runBackendStepInput.getTableName() + " produced " + queryOutput.getRecords().size() + " records.");
|
LOG.info("Query on table " + tableName + " produced " + queryOutput.getRecords().size() + " records.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user