Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I´m trying to make and Input and Output Excel, i already created a metadata containing the headers i need, but when i enter the Sheet with data, containing just a few fields they only were syncronized by Position of Columns
Like:
This Metadata:
Name | E-mail | Telephone
A | B | C
Sheet File Input:
Name | Telephone
John | 212121
Doe | 212121
And the result of tLogRow is
Name | E-mail
John | 212121
Doe | 212121
What i think its happening is the Talend only match the columns using his position
For an example:
Position A1(Metadata) to Position A1(Sheet)
Does not match by Column Name
Well i am also new to this and need all the help regarding this. After reading your problem i found out that this would have been my case some days later.
Thanks in advance for any guide.
Regards,
Brian.
Use the below logic -
Job Logic
Schemas for tFileInputExcel and tFilterColumns
Output
Thanks for u repply
But what i want, is not exactly what u show
U are inputing a file that has all the three fields
Name, Email and Telephone
I want to input a file only contains Name and Telephone (containing the metdata with the three fields)
Best Regards
For an example:
This is the metadatafile used for Schema
This is the input file in Excel
And the ouput using tMap should be like
Could you please throw some more light about your use case?
And if that's the case why have you used Email in your metadata. You could just remove it and everything works well as per the expectation.
The Name and Phone fields available in every month file?
Hello, I really dunno, can appear in every month file ou may be not. But i think it will appear in every month file, but can change the position of these fields
Anyone?