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-1720] 0.6.x Fix Mixed Format KeyedTable expiring all the snapshots with optimized sequence #2456

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

wangtaohz
Copy link
Contributor

Why are the changes needed?

Fix #1720 in 0.6.x

Brief change log

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)

wangtaohz and others added 2 commits December 20, 2023 14:57
…ith optimized sequence (apache#2394)

* should not expire the latest snapshot contains optimized sequence

* add visible for testing

* add fetchLatestNonOptimizedSnapshotTime for base store

* get hive locations return the uri path

* refactor codes and fix comments

* improve for exclude files is empty for expring snapshots

---------

Co-authored-by: ZhouJinsong <zhoujinsong0505@163.com>
@github-actions github-actions bot added the module:ams-dashboard Ams dashboard module label Dec 20, 2023
Copy link

codecov bot commented Dec 20, 2023

Codecov Report

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

Comparison is base (adbc918) 52.26% compared to head (ff11d11) 52.34%.

Files Patch % Lines
.../optimizing/maintainer/IcebergTableMaintainer.java 79.16% 4 Missing and 1 partial ⚠️
...er/optimizing/maintainer/MixedTableMaintainer.java 90.47% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##              0.6.x    #2456      +/-   ##
============================================
+ Coverage     52.26%   52.34%   +0.08%     
- Complexity     4167     4176       +9     
============================================
  Files           506      506              
  Lines         29301    29313      +12     
  Branches       2875     2878       +3     
============================================
+ Hits          15314    15345      +31     
+ Misses        12747    12716      -31     
- Partials       1240     1252      +12     
Flag Coverage Δ
core 52.58% <84.44%> (+<0.01%) ⬆️
trino 51.12% <ø> (+0.48%) ⬆️

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.

@zhoujinsong zhoujinsong merged commit 564e7fb into apache:0.6.x Dec 21, 2023
7 checks passed
@wangtaohz wangtaohz deleted the fix-1720-0.6.x branch December 21, 2023 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ams-dashboard Ams dashboard module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants