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)

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

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