Using tfileexcel components in a loop.

One Star

Using tfileexcel components in a loop.

Hi all,

 

I have been trying to split my data into different excel files based on a column value. The column values are dynamic, so I was trying to achieve the same through a loop, by storing the distinct column values globally inside the job, and then running select queries inside a loop for each value.

 

The structure of the loop is like this.

 

tloop------iterate-----tFileExcelWorkbokOpen-----iterate-----tRedshiftInput-----main---tFileExcelSheetOutput------iterate----tFileExcelWorkbookSave-----iterate---------tJava.

 

I am using Jan Lolling's tfileexcel components, which are amazing btw.
But I guess, tFileExcelWorkbookOpen and tFIleExcelWorkbookSave cannot be used inside a loop.

It throws an error "tFileExcelWorkbookSave_2 workbook cannot be null!", everytime.

Does anybody has any solution for this issue.

 

Thanks


 
 

Moderator

Re: Using tfileexcel components in a loop.

Hello,

The third party custom components on Talend Exchange are not "supported"(simply we won't necessarily be equipped to help you with any issue you may face with them) by Talend, since we don't have the source code of these components.  It is the ownership of the person who built it. Feel free to contact the author Jan Lolling please.

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

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

Talend Cloud Developer Series – Deploying First Job to Cloud

This video will show you how to run a job in Studio and then publish that job to Talend Cloud

Watch Now

Talend Cloud Developer Series – Fetching Studio License

This video will help someone new to using Talend Studio get started by connecting to Talend Cloud and fetching the Studio License

Watch Now

Talend Cloud Developer Series - Introduction

The Talend Cloud Developer Series was created to give you a solid foundational understanding of Talend’s Cloud Integration Platform

Watch Now