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

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

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download