-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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-27991: Utilise FanoutWriters when inserting records in an Iceberg table when the records are unsorted #4988
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SourabhBadhya
force-pushed
the
HIVE-27991
branch
from
January 9, 2024 11:28
743bb1a
to
6df0cd8
Compare
asf-ci-hive
added
tests pending
tests unstable
and removed
tests failed
tests pending
labels
Jan 9, 2024
SourabhBadhya
force-pushed
the
HIVE-27991
branch
from
January 11, 2024 12:12
6df0cd8
to
bff4105
Compare
asf-ci-hive
added
tests pending
tests passed
and removed
tests unstable
tests pending
labels
Jan 11, 2024
zhangbutao
reviewed
Jan 12, 2024
...iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/writer/HiveIcebergRecordWriter.java
Outdated
Show resolved
Hide resolved
zhangbutao
approved these changes
Jan 12, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
SourabhBadhya
force-pushed
the
HIVE-27991
branch
from
January 16, 2024 15:42
bff4105
to
47cfb3b
Compare
asf-ci-hive
added
tests pending
tests failed
and removed
tests passed
tests pending
labels
Jan 16, 2024
SourabhBadhya
force-pushed
the
HIVE-27991
branch
from
January 17, 2024 04:45
47cfb3b
to
9b0a1b7
Compare
asf-ci-hive
added
tests pending
tests failed
and removed
tests failed
tests pending
labels
Jan 17, 2024
SourabhBadhya
force-pushed
the
HIVE-27991
branch
from
January 17, 2024 09:32
9b0a1b7
to
a0c21e3
Compare
asf-ci-hive
added
tests pending
tests failed
and removed
tests failed
tests pending
labels
Jan 17, 2024
asf-ci-hive
added
tests pending
tests unstable
and removed
tests failed
tests pending
labels
Jan 18, 2024
SourabhBadhya
force-pushed
the
HIVE-27991
branch
from
January 18, 2024 08:48
a0c21e3
to
56e9115
Compare
asf-ci-hive
added
tests pending
tests unstable
and removed
tests unstable
tests pending
labels
Jan 18, 2024
…g table when the records are unsorted
SourabhBadhya
force-pushed
the
HIVE-27991
branch
from
January 22, 2024 05:13
56e9115
to
9037748
Compare
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 6 New issues |
tarak271
pushed a commit
to tarak271/hive-1
that referenced
this pull request
Feb 9, 2024
…g table when the records are unsorted (apache#4988) (Sourabh Badhya reviewed by Butao Zhang)
dengzhhu653
pushed a commit
to dengzhhu653/hive
that referenced
this pull request
Mar 7, 2024
…g table when the records are unsorted (apache#4988) (Sourabh Badhya reviewed by Butao Zhang)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Utilise FanoutWriters when inserting records in an Iceberg table when the records are unsorted
Why are the changes needed?
FanoutWriter is a writer in Iceberg which can be used to write records in a table. This writer keeps all the file handles open, until the write is finished. FanoutWriters is used as the writer when the incoming records are unsorted. We can by default have some mechanism to switch to using FanoutWriters instead of ClusteredWriters when custom sort expressions are not present for the given table/query.
Similar stuff is already implemented in Spark - apache/iceberg#8621
Does this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?
QTests