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

[AQE][LocalOrder] Fix potenial bug when merging continuous segments #318

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

zuston
Copy link
Member

@zuston zuston commented Nov 13, 2022

What changes were proposed in this pull request?

  1. Fix potenial bug when merging continuous segments
  2. Show more details when throwing discontinuous blocks to better debug

Why are the changes needed?

In current codebase, while expected task id is 230 but splitting the index taskId seq of (229, 230, 221, 229, 230), it will throw exception of discontinuous check.

This PR is to fix this

Does this PR introduce any user-facing change?

No

How was this patch tested?

  1. UTs

@zuston zuston changed the title Fix potenial bug when merging continuous segments [AQE][LocalOrder] Fix potenial bug when merging continuous segments Nov 13, 2022
@codecov-commenter
Copy link

codecov-commenter commented Nov 13, 2022

Codecov Report

Merging #318 (53e725c) into master (4a3d2be) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #318      +/-   ##
============================================
+ Coverage     61.01%   61.07%   +0.05%     
- Complexity     1489     1493       +4     
============================================
  Files           185      185              
  Lines          9314     9327      +13     
  Branches        900      903       +3     
============================================
+ Hits           5683     5696      +13     
  Misses         3326     3326              
  Partials        305      305              
Impacted Files Coverage Δ
...ffle/common/segment/LocalOrderSegmentSplitter.java 90.62% <100.00%> (+2.38%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

jerqi
jerqi previously approved these changes Nov 13, 2022
Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

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

Ci failed. The fix seems ok.

@jerqi jerqi dismissed their stale review November 13, 2022 09:11

CI failed.

@zuston
Copy link
Member Author

zuston commented Nov 13, 2022

Ci failed due to the unstable network.

Copy link
Contributor

@jerqi jerqi 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 @zuston

@jerqi jerqi merged commit 1b53455 into apache:master Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants