Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Parikhharshal
Creator III
Creator III

Load multiple excel files into Redshift

Hi experts

 

Hope you are well.

 

I have got the scenario where I am looping in all 3 excel files stored locally and then loading them into Redshift.

 

I have designed my job like this:

 

0683p000009M81z.png

 

This is my setup in tfileinputexcel.

0683p000009M8NZ.png

It actually shows 2 exection finished but it actually loads only one file in redshift. Not sure what am I doing wrong.

 

Please help. 

 

Thanks in advance.

 

Thanks

Harshal.

Labels (2)
1 Solution

Accepted Solutions
Parikhharshal
Creator III
Creator III
Author

Hi Nikhil and all

 

Thanks a lot for your reply.

 

I ended up resolving this by using existing connection instead of defining as new.

 

0683p000009M8OI.png

 

Thanks

Harshal.

View solution in original post

5 Replies
Anonymous
Not applicable

Try to make a testing, add a tLogRow after tMap to the print the data on the console, to check if each file has data and all data are read from the file.

Parikhharshal
Creator III
Creator III
Author

Hi @shong

I added tlogrow and it works fine in there. Not sure what's the problem with tdbout component.
Anonymous
Not applicable

Do you create the table on tRedshiftOutput? What is the option in Action on table list?

Anonymous
Not applicable

Hi,

 

    Could you please add a tRedshiftCommit to tRedshiftOutput using On Component Ok? Please do not close the connection since you need to repeat the iterations. You can close the connection in tPostJob section once the entire job is complete.

 

0683p000009M8O8.png

 

     At the same time, add Die on error option in tRedshiftOutput component to make sure that data is indeed getting loaded without any error.

 

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

Parikhharshal
Creator III
Creator III
Author

Hi Nikhil and all

 

Thanks a lot for your reply.

 

I ended up resolving this by using existing connection instead of defining as new.

 

0683p000009M8OI.png

 

Thanks

Harshal.