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

[Improvement] Polish optimizing executor code #1895

Merged
merged 4 commits into from
Aug 29, 2023

Conversation

shidayang
Copy link
Contributor

@shidayang shidayang commented Aug 29, 2023

Why are the changes needed?

There are some flaws in the code.

Brief change log

  • Remove useless code
  • Add annotation to some interfaces

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

Documentation

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

@github-actions github-actions bot added module:core Core module module:mixed-hive Hive moduel for Mixed Format labels Aug 29, 2023
@shidayang shidayang requested a review from zhoujinsong August 29, 2023 03:20
@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.02% ⚠️

Comparison is base (1205dfd) 50.79% compared to head (0bfabc9) 50.77%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1895      +/-   ##
============================================
- Coverage     50.79%   50.77%   -0.02%     
+ Complexity     3786     3784       -2     
============================================
  Files           477      477              
  Lines         25568    25560       -8     
  Branches       2610     2606       -4     
============================================
- Hits          12986    12978       -8     
+ Misses        11417    11416       -1     
- Partials       1165     1166       +1     
Flag Coverage Δ
core 51.19% <100.00%> (-0.03%) ⬇️
trino 48.71% <ø> (+0.04%) ⬆️

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

Files Changed Coverage Δ
...ic/io/reader/GenericCombinedIcebergDataReader.java 82.56% <ø> (ø)
...ease/arctic/optimizing/IcebergRewriteExecutor.java 90.47% <ø> (+4.76%) ⬆️
...hive/optimizing/MixFormatOptimizingDataReader.java 0.00% <ø> (ø)
...ctic/hive/optimizing/MixFormatRewriteExecutor.java 0.00% <ø> (ø)
...ve/optimizing/MixFormatRewriteExecutorFactory.java 0.00% <ø> (ø)
...rctic/optimizing/AbstractRewriteFilesExecutor.java 85.85% <100.00%> (-0.15%) ⬇️

... and 2 files with indirect coverage changes

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

@zhoujinsong zhoujinsong merged commit 4670892 into apache:master Aug 29, 2023
@wangtaohz wangtaohz mentioned this pull request Sep 7, 2023
56 tasks
ShawHee pushed a commit to ShawHee/arctic that referenced this pull request Dec 29, 2023
* Polish code

* Polish code

* Code format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:core Core module module:mixed-hive Hive moduel for Mixed Format
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants