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

Hive: fix issue of inserting empty data on Tez #2516

Merged
merged 2 commits into from
Apr 28, 2021

Conversation

marton-bod
Copy link
Collaborator

When inserting empty data, Tez may decide not to create a writer. This leads to HiveIcebergRecordWriter.getWriters(attemptID) returning a null, and encountering an NPE when calling writers.get(output) subsequently. This PR fixes this problem, adds a unit test and enhances the logging for supportability.

@github-actions github-actions bot added the MR label Apr 26, 2021
@pvary pvary merged commit 90bc329 into apache:master Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants