Deleting Temporary files created during ETL process

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

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

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

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads