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: 
Vijay_1823
Contributor
Contributor

Ingest folder names from s3 bucket and load to postgres table

I am trying to ingest multiple s3 folder names into a table.

eg: from folder A i am trying to process one specific folder instead of going in all folders

here are the list of components ts3list--->iterate--->tjava,--->ts3get i am using ts3list component to fetch all the files from folder. i would like to use a component before the ts3list that would tell ts3list what folder it should process.

Vijay_1823_1-1726499581933.png

 

Regards

Labels (1)
3 Replies
Dave_Simo
Contributor III
Contributor III

Hello, 

You ca use something like this

Dave_Simo_0-1726502866296.png

In tForeach_2 

Dave_Simo_1-1726502954060.png

In tS3List

Dave_Simo_3-1726503098141.png

Hope this can help you

Best Regards,

Vijay_1823
Contributor
Contributor
Author

Hi Dave_Simo,

Thanks for your quick reply,

Let me explain what i want to achieve here, there is one s3 bucket named ABCD and in that bucket there are multiple objects or folders named AA, AB, AC, AD, AE and in that objects there are again multiple folders/objects named as AAA, ABA, ACA, ADA but here i want ts3list to go in only folder named ACA and load the data into the table, also this process should go in every folder of AA, AB, AC, AD, AE and go in only ACA folder and load the data.(because ACA folder contains required data we need to load).How i can achieve this in talend ? Thanks !

 

Regards,

Dave_Simo
Contributor III
Contributor III

Hello,

Not having an AWS environment to test I think the link below could help you.

https://community.qlik.com/t5/Design-and-Development/S3-bucket-naming-from-talend/td-p/2270460

Best Regards,