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

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch