-
Notifications
You must be signed in to change notification settings - Fork 326
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
fix(flow): Arrange get range with batch unaligned #3552
fix(flow): Arrange get range with batch unaligned #3552
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3552 +/- ##
==========================================
- Coverage 85.37% 85.00% -0.37%
==========================================
Files 910 910
Lines 152034 152225 +191
==========================================
- Hits 129792 129399 -393
- Misses 22242 22826 +584 |
rest LGTM |
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
pub type Batch = BTreeMap<Row, SmallVec<[DiffRow; 2]>>; | ||
pub type Spine = BTreeMap<Timestamp, Batch>; |
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.
👍
Maybe also move/duplicate some document to those alias
} else { | ||
continue; | ||
} |
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.
nit: unnecessary continue?
} else { | |
continue; | |
} | |
} |
Forget to send them... |
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
Fix arrangement's batches's interaction with get by range unaligned with batch boundaries. Related tests are added and commented in details.
Checklist