Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How can I get Extract Json Field and Other field from DB

Hello everyone,

 

I'm working on job talend who consists to Export DB to Csv,

I have a field Json who I extracted data, this is OK.

 

But my problem is How can I get other field from my DB to put this in my Output CSV in the same time with these field json.

 

You can look my Job in photo

Thanks very much for your Help.

 

 

0683p000009M8h7.png

 

Labels (2)
1 Solution

Accepted Solutions
nivedhitha
Creator III
Creator III

@Saitama9 ,

 

In addition to the columns you parsed out of the json string, add the columns from your database to the schema of tExtractJSON component and the other columns will just flow through.

 

Please refer to the screenshots below. I have worked out a similar example.

 

0683p000009M8sD.pngPic 1 - FixedFlow instead of DB

 

0683p000009M8sI.pngExtractJSON

 

0683p000009M8ZS.pngResult

Let me know if this helps

View solution in original post

3 Replies
nivedhitha
Creator III
Creator III

@Saitama9 ,

 

In addition to the columns you parsed out of the json string, add the columns from your database to the schema of tExtractJSON component and the other columns will just flow through.

 

Please refer to the screenshots below. I have worked out a similar example.

 

0683p000009M8sD.pngPic 1 - FixedFlow instead of DB

 

0683p000009M8sI.pngExtractJSON

 

0683p000009M8ZS.pngResult

Let me know if this helps

Anonymous
Not applicable
Author

Hi,

 

Thank you for your help, 

 

I tried your soluce but I have this error when I add these columns in tExtractJsonFields,

 

Thanks for your help


errorJob.PNG
Anonymous
Not applicable
Author

It works finally, thank you very much ! 0683p000009MACn.png