Support Questions

Find answers, ask questions, and share your expertise

Need jolt transformation for nested array

avatar
New Contributor

need jolt transformation specs for below output: 

 

[

  {

    "datetime":"time1",

    "valuetime:"value1"

  },

  { "datetime":"time2",

    "valuetime:"value2"

} ]

 

But I am getting it as:

 

{

 "accounts":[

    {

      "dateTime":["time1","time2"],

       "valueTime":["value1","value2"]

    }

 ]

}

 

 

3 REPLIES 3

avatar
Community Manager

@saraDdeveloper Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our expert @araujo  who may be able to assist you further.
Meanwhile, you can browse through some resources like:

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Super Guru

Hi,

 

It seems you are only providing the output. Can you please provide the input json and the desired output?

Thanks

avatar
Community Manager

@saraDdeveloper  If you are still experiencing the issue, can you provide the information @SAMSAL has requested? Thanks.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: