Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

array with elements and with out element #209

Open
pandu39 opened this issue Jul 13, 2018 · 0 comments
Open

array with elements and with out element #209

pandu39 opened this issue Jul 13, 2018 · 0 comments

Comments

@pandu39
Copy link

pandu39 commented Jul 13, 2018

Hi,
I am unable to achieve below functionality on my data, any have suggestions?

i/p:
{
"details": {"ROW":[
{"company":"xyz",
"domain":"123",
"items":{"ROW":[{"shoes":"Nike","shirt":""},{"shoes":"Fila","shirt":""}]}
},
{"company":"x",
"domain":"12",
"items":{"ROW":[]}
}
]
},
"send":"me"
}

expected output from hive-
send|company|domain|shoes|shirt
me |xyz |123 |Nike |null
me |xyz |123 |Fila |null
me |x |12 |null |null

Actually I am unable to get third row in this case, first two rows are good but third row is missing while exploding array with openX serde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant