Flatten the json file

0

Hi all,

My concern is I need to flatten the json file . When i am using glue visual studio it's flatten top level. I need to flatten deep.

asked a year ago444 views
1 Answer
0

Flatten applies to structs, arrays cannot be flattened (flattening an array just would just mean removing nested arrays) but exploded, which is a different operation that changes the table cardinality and should be used with care (you are not really flattening but denormalizing the data). You can explode an array and then flatten the objects inside if you want to.

profile pictureAWS
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions