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

feat(mito): Defines the read Batch struct for mito2 #2174

Merged
merged 6 commits into from
Aug 15, 2023

Conversation

evenyag
Copy link
Contributor

@evenyag evenyag commented Aug 14, 2023

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 and Batch in BufferedWriter with arrow's SchemaRef and RecordBatch. I plan to implement the conversion between Batch and RecordBatch outside of the BufferedWriter.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@evenyag evenyag marked this pull request as ready for review August 14, 2023 15:00
@evenyag evenyag requested a review from v0y4g3r August 14, 2023 15:01
@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #2174 (a47ef81) into develop (768239e) will decrease coverage by 0.45%.
Report is 1 commits behind head on develop.
The diff coverage is 0.00%.

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

@evenyag evenyag requested a review from waynexia August 15, 2023 03:24
Copy link
Contributor

@v0y4g3r v0y4g3r left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@waynexia waynexia left a comment

Choose a reason for hiding this comment

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

LGTM

@waynexia waynexia added this pull request to the merge queue Aug 15, 2023
Merged via the queue into GreptimeTeam:develop with commit d4565c0 Aug 15, 2023
@evenyag evenyag self-assigned this Aug 17, 2023
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants