-
Notifications
You must be signed in to change notification settings - Fork 329
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
feat(mito): Defines the read Batch struct for mito2 #2174
Conversation
99dff0a
to
84867de
Compare
84867de
to
a46f262
Compare
Codecov Report
@@ Coverage Diff @@
## develop #2174 +/- ##
===========================================
- Coverage 85.03% 84.58% -0.45%
===========================================
Files 698 696 -2
Lines 111719 111810 +91
===========================================
- Hits 94995 94574 -421
- Misses 16724 17236 +512 |
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
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
* feat: define batch * feat: define Batch struct * feat: stream writer takes arrow's types * feat: make it compile * feat: use uint64vector and uint8vector * feat: add timestamps and primary key
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Defines the new read Batch struct. This struct can hold rows for the same time series.
It also replaces
SchemaRef
andBatch
inBufferedWriter
with arrow'sSchemaRef
andRecordBatch
. I plan to implement the conversion betweenBatch
andRecordBatch
outside of theBufferedWriter
.Checklist
Refer to a related PR or issue link (optional)