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

[AMORO-2560]Filformat ORC support roll new file for mixed_format #2561

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

xieyi888
Copy link
Contributor

@xieyi888 xieyi888 commented Feb 22, 2024

Why are the changes needed?

Close #2560.

Brief change log

-ORC fileformat support roll new file with self-optimizing.target-size for mixed_format
-Change orc-core.version to 1.8.3
because org.apache.iceberg.orc.OrcFileAppender#length would call org.apache.orc.Writer#estimateMemory, but it did not exsits in orc-core 1.7.2, which would cause java.lang.NoSuchMethodError: org.apache.orc.Writer.estimateMemory as below
image

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

image

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (0330b53) 32.41% compared to head (5652ea7) 32.44%.

Files Patch % Lines
...a/com/netease/arctic/io/writer/BaseTaskWriter.java 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2561      +/-   ##
============================================
+ Coverage     32.41%   32.44%   +0.02%     
  Complexity     4407     4407              
============================================
  Files           590      590              
  Lines         50041    50041              
  Branches       6619     6619              
============================================
+ Hits          16223    16234      +11     
+ Misses        32544    32529      -15     
- Partials       1274     1278       +4     
Flag Coverage Δ
core 30.50% <0.00%> (+<0.01%) ⬆️
trino 51.08% <ø> (+0.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@zhoujinsong zhoujinsong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Thanks a lot for your contribution!

@zhoujinsong zhoujinsong merged commit 3c4855a into apache:master Feb 22, 2024
6 of 7 checks passed
@xieyi888
Copy link
Contributor Author

xieyi888 commented Feb 23, 2024

LGTM. Thanks a lot for your contribution!

@zhoujinsong Can you cherry-pick this PR to branch 0.6.x?

@zhoujinsong
Copy link
Contributor

@zhoujinsong Can you cherry-pick this PR to branch 0.6.x?

Done.

@zhoujinsong zhoujinsong mentioned this pull request Jun 25, 2024
66 tasks
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.

[Bug]: Filformat ORC do not support roll new file for mixed_format
2 participants