Details
Description
Transformation executor reads result rows from the last step in the executed transformation instead of the transformation results.
This behavior is described in the method executeTransformation() of the org.pentaho.di.trans.steps.transexecutor.TransExecutor class
if ( meta.getOutputRowsSourceStepMeta() != null ) {
List<StepMetaDataCombi> internalTransformationSteps = executorTrans.getSteps();
StepInterface stepInterface = internalTransformationSteps.get( internalTransformationSteps.size() - 1 ).step;
stepInterface.addRowListener( new RowAdapter() {
@Override
public void rowWrittenEvent( RowMetaInterface rowMeta, Object[] row ) throws KettleStepException
} );
}
Attachments
Issue Links
- duplicates
-
PDI-14095 Transformation Executor Result Rows returns data from wrong step
-
- Closed
-