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.

1 réponse
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions