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!

Fifteen Stars TRF
Fifteen Stars

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

Can you share your tFlowToIterate settings + schema?


TRF

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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

APIs for Dummies

View this on-demand webinar about APIs....

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