Use a row flow as globalMap Var in a tDB Input

Six Stars

Use a row flow as globalMap Var in a tDB Input

Hi, 

 

my Job looks like 
tDBInput_ --row9-->tFlowToIterate--Iterate-->tDBInput_5--row10-->tLogRow

in tDBInput_5 I use this Statement 

SELECT pzn FROM relevantspositionierung.prokasdb where pzn = '"+(String)globalMap.get("row9.pzn")+"'

and the output is Empty.

The Schema of row9 is Column = pzn | Db Column =  pzn. 

If I start the Job nothing is happend. 

Thanks for your help. 

greets Chris 




Twelve Stars

Re: Use a row flow as globalMap Var in a tDB Input

"SELECT '"+(String)globalMap.get("row9.pzn")+"', pzn FROM relevantspositionierung.prokasdb"
you can try this.
do not forget " at the begin and at the end

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Sixteen Stars TRF
Sixteen Stars

Re: Use a row flow as globalMap Var in a tDB Input

Can you share your tFlowToIterate settings + schema?


TRF

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

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

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