Skip to main content
Solved

Working nested GraphQL results in a JSON Call step in desktop

  • September 25, 2023
  • 2 replies
  • 154 views

Forum|alt.badge.img+2

Hi,

There is a lot about GraphQL and JSON-call. But I have question on how to process nested GraphQL in a JSON and maintain integrity when using (nested) datastreams) in the JSON Call step in Ataccama (v13.x).

Below an example. There are profiles with path ($.data.catalogItem.publishedVersion.profilingConfigurationInstances.edges.node.publishedVersion.profiles.edges.node.@). And then a nested data-stream, which continus from this path (publishedVersion.attributeProfiles.edges.node). Each stream will give an output for the JSON-caller step. Now how do we maintain integrity between the streams/output files? So how can I refer from a sub-stream to a parent key, so I can later join the JSON-call output streams?



 

 

 

 

Best answer by AKislyakov

Hi @Marnix Wisselaar,

In the JSON Call step there is an option to set Shadow Columns which allows you to access columns from parent streams or from the input through a dot notation. Same as you did in your test plan. So you can pass the profileGID from parent stream to a child one.

 

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+2

Hi, 

 

Anyone? Enclosed a test.plan. How can the child be linked to its parent?


Forum|alt.badge.img+2
  • Ataccamer
  • 146 replies
  • Answer
  • October 2, 2023

Hi @Marnix Wisselaar,

In the JSON Call step there is an option to set Shadow Columns which allows you to access columns from parent streams or from the input through a dot notation. Same as you did in your test plan. So you can pass the profileGID from parent stream to a child one.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings