Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Garrett
Contributor
Contributor

tFileOutputDelimited not returning results

The following job includes these components

tDBInput -> tFileOutputDelimited

MS SQL to CSV file

the job runs successfully indicating 295 rows but the csv file comes up blank.

 

0683p000009M3qL.png0683p000009M4Cn.png

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

@Garrett 

 

The field separator value defines the data separator attribute between columns. You can change it to comma instead of semicolon if your target system is looking for "," symbol.

0683p000009M4EU.png

 

 

Please also refer the below sample scenario which will give you better idea.

 

https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/F3_A62DeXoPWn7ZjeK7BOw

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

9 Replies
Anonymous
Not applicable

Hi,

 

    Could you please delete the existing file and try to run it again? Also please check the schema of the database output.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Garrett
Contributor
Contributor
Author

Hello,

Please see below screenshot. This is my setting for the tFileOutputdelimited component. Which settings in this window were you suggesting to change?

0683p000009M4Cx.png

Anonymous
Not applicable

Hi,

 

    Please refer below.

0683p000009M4D2.png

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

 

Garrett
Contributor
Contributor
Author

can you please point out the difference between your screenshot and mine? the advanced settings seem to be the same. Which setting do I need to change specifically?:

0683p000009M4D7.png

akumar2301
Specialist II
Specialist II

Hello

Did you defined schema in tfileoutput component?
Garrett
Contributor
Contributor
Author

I didn't make any changes there. this is how my schema looks on tfileoutput:

0683p000009M44v.png0683p000009M4DC.png

 

akumar2301
Specialist II
Specialist II

Aah you need to define schema at input and output.

Schema contains col names , data type etc...
Garrett
Contributor
Contributor
Author

thanks i was able to generate the output in the csv file. now, in the csv file all of the columns of data are in one cell and the column headers are also in the first cell separated by ;. How can I make sure  that the data is in each of the columns?

0683p000009M47p.png0683p000009M4DH.png

Anonymous
Not applicable

@Garrett 

 

The field separator value defines the data separator attribute between columns. You can change it to comma instead of semicolon if your target system is looking for "," symbol.

0683p000009M4EU.png

 

 

Please also refer the below sample scenario which will give you better idea.

 

https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/F3_A62DeXoPWn7ZjeK7BOw

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂