Use a row flow as globalMap Var in a tDB Input

Highlighted
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

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

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