Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
With community version, you have to create many subjobs for each file. With commercial subscription version, you are able to define a dynamic schema to map different structure, so that you only need one general Talend job for all files. For more information, please read this page:
https://help.talend.com/search/all?query=dynamic+schema+
Regards
Shong
But i want add different transformation logic for 10 sources.How to i achieve this?
int ncount=0;
String columnName="";
DynamicMetadata column;
ncount=row7.c.getColumnCount();
column=row7.c.getColumnMetadata(ncount-1);
columnName=column.getName();
String columnValue=(String)row7.c.getColumnValue(columnName);
row7.c.setColumnValue(ncount-1, "Hello "+columnName);
row9.c=row7.c;
begin code of tJavaFlex: int ncount=0;
String columnName="";
DynamicMetadata column;
Shong
Does you tJavaFlex have a row with a Dynamic column coming in or going out?