Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
jip31
Contributor
Contributor

help on tMap

Hi

I try to build the job described below

URL

When I run the job, i have no error but also no results!

What is the problem please?

0695b00000de4hPAAQ.png

28 Replies
jip31
Contributor
Contributor
Author

0695b00000deC8hAAE.png

jip31
Contributor
Contributor
Author

It's version 8.0.1

here is the table model

 

0695b00000deC8rAAE.png

Anonymous
Not applicable

please double check the basic settings of tFileInputDelimited, especially the field separator, the component read the whole line as the first column.

jip31
Contributor
Contributor
Author

Sorry i dont understand what you mean

could you write it here please?

Anonymous
Not applicable

I suspect you don't set the right field separator, tFileInputDelimited read the whole line of data as one column, so please double check the field separator.

 

jip31
Contributor
Contributor
Author

The separator in my csv file is a semicolon so it's normal that I use also a semicolon separator as the field separator in tFileInputDelilited no?

 

Id;Name;Department;StartDate;Salary

x;John Smith;Sales;01-Mar-2023;20000

 

0695b00000deK1jAAE.png

jip31
Contributor
Contributor
Author

Is anybody can help please?

Anonymous
Not applicable

Hi

I noticed that there is a double quotes around the data,

"Id;Name;Department;StartDate;Salary"

"x;John Smith;Sales;01-Mar-2023;20000"

 

When the CSV option is checked, the component read the whole line as one value, so just define one column on the schema, and then use a tExtractDelimitedFields to extract each data from the input line, define the all columns on tExtractDelimitedFields.

tFileInputDelimited--main--tExtractDelimitedFields--main--tLogRow

0695b00000deb8wAAA.png 

Please try and let me know if it works.

 

Regardfs

Shong

jip31
Contributor
Contributor
Author

I dont understand anything

In the csv file I sent you, there is no double quotes!

And if i modify the schema like you asked me, I have an error

 

0695b00000debG7AAI.png0695b00000debGCAAY.png 

Anonymous
Not applicable

Open the file with notepad++, you will see the double quotes.

Modify your job to

tFileInputDelimited--main--tExtractDelimitedFields--main--tLogRow