• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Write values from globalMap to a file

#1 2012-06-24 10:25:32

Barak
Guest

Write values from globalMap to a file

Tags: [deployment, mssql]

Hi,

I'm creating a flow which some tables are being incremental copied from one db to another. The high watermark is calculated and stored in globalMap. Which component should I use to store this value into a file? I've tried tFileOutputDelimited, but I cant see how to connect it with the globalMap.

Thanks.

#2 2012-06-25 04:41:47

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Write values from globalMap to a file

Hi

Could you show us more details? Or a screenshot of your job?
What do you mean "The high watermark is calculated and stored in globalMap"?

Regards,
Pedro


Only Paranoid Survive.

Offline

#3 2012-06-25 08:12:43

Barak
Guest

Re: Write values from globalMap to a file

Hi,

I found the answer, the relevant flow is: tJavaFlex1-----------row1-------->tFileOutputDelimited1.

In the javaFlex I put row1.watermark = (String)globalMap.get("watermark"); and tFileOutputDelimited1 write it to the file.

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Write values from globalMap to a file

Board footer

Powered by FluxBB