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

JSON array of object saved as ORC format #1309

Merged

Conversation

marcin-kamionowski
Copy link
Contributor

Hi
In some situations Kafka messages may contains JSON array of objects. Each item on the list have the same schema. This patch allows to read messages like this and save each list item as a separate records.
This patch should not have performance implications as root JSON element type was checked before.
It was expected to receive JsonObject but in our scenario it is JsonArray.

@HenryCaiHaiying
Copy link
Contributor

It looks like the travis build is failing for this PR: https://travis-ci.org/github/pinterest/secor/builds/683900104

The error doesn't seem related to your PR, and probably a transient error.

Can you do a dummy checkin (e.g adding a comment in the code) to trigger the rebuild?

@marcin-kamionowski
Copy link
Contributor Author

@HenryCaiHaiying
Copy link
Contributor

Great, I will merge the PR, thanks.

@HenryCaiHaiying HenryCaiHaiying merged commit 03a0355 into pinterest:master May 7, 2020
@marcin-kamionowski
Copy link
Contributor Author

No problem, thanks!

@marcin-kamionowski marcin-kamionowski deleted the orc-list-supports branch May 8, 2020 14:01
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

Successfully merging this pull request may close these issues.

2 participants