Deleting Temporary files created during ETL process

Highlighted
One Star

Deleting Temporary files created during ETL process

Hi,
I'm running an ETL process wherein I have to write some data into a temporary file and then read it. This thing happens on everyday basis. So I want to delete those temporary files once my ETL job is completed. Is there any way to do it in TalenD itself or do I need to delete those files from some external logic?
Please suggest.
thanks
Gnyanendra
One Star

Re: Deleting Temporary files created during ETL process

Hi,
Sure, you can use a subjob which will delete all files, based on a list or a file mask. You can use the tFileDelete component for this and use the tFileList for example.
Regards,
Arno

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.