Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Issue #49 : allow format masks
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcasters committed Aug 7, 2019
1 parent 0388b64 commit 8ced55a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/pentaho/di/dataset/DataSetCsvGroup.java
Expand Up @@ -191,8 +191,9 @@ public static final List<Object[]> getAllRows( LogChannelInterface log, DataSetG
int index = dataSetFieldIndexes[ i ];

ValueMetaInterface valueMeta = setRowMeta.getValueMeta( index );
constantValueMeta.setConversionMetadata( valueMeta );
String value = csvRecord.get( index );
row[ i ] = valueMeta.convertDataFromString( value, constantValueMeta, null, null, ValueMetaInterface.TRIM_TYPE_NONE );
row[ i ] = valueMeta.convertData( constantValueMeta, value );
}
rows.add( row );
}
Expand Down

0 comments on commit 8ced55a

Please sign in to comment.