Re: Remember value from previous row?

Highlighted
Employee

Re: Remember value from previous row?

Hi
You have to use a tPerlFlex.
I tried to use your variables in the following example.
# start part of your Perl code
The variables initialisation
my $oldComponentColumnValue='';
my $componentColumnValue='first date';

# loop
-> tPerlFlex_1 is the tPerlFlex component unique name in my example
-> tPerlFlex_1 because beg_date is my second value in the schema (starting from 0)
$oldComponentColumnValue = $componentColumnValue;
$componentColumnValue = $tPerlFlex_1;

I'm waiting for your feedback.
Best Regards,
Michaël
Tags (1)

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

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

Download