tExtractJSONFields - Replace the No results by default value

Highlighted
Seven Stars

tExtractJSONFields - Replace the No results by default value

Hi all, is there any way to replace the "No results...." by default value

Capture.PNG

 

Highlighted
Employee

Re: tExtractJSONFields - Replace the No results by default value

Hi,

 

    Could you please share some sample records and expected output for those records (Please add the sample records as text instead of images) ?

 

It would be great if you could also share your current job screen shots.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

Highlighted
Seven Stars

Re: tExtractJSONFields - Replace the No results by default value

Thank you Nikhilthampil,

After I try many solution, I found the solution for my problem by edit the field "Loop Jsonpath query"

I point it to the parent of the loop and navigate to item in the Mapping field ( my screenshot)

And then, use a tMap with Expression to replace the null value with default string

Let it here, hope it may help the other

Capture.PNG

2019 GARTNER 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

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now