Skip to content

feat(puffin): add file writer#2776

Merged
zhongzc merged 10 commits intoGreptimeTeam:developfrom
zhongzc:zhongzc/puffin-format-writer
Nov 21, 2023
Merged

feat(puffin): add file writer#2776
zhongzc merged 10 commits intoGreptimeTeam:developfrom
zhongzc:zhongzc/puffin-format-writer

Conversation

@zhongzc
Copy link
Copy Markdown
Collaborator

@zhongzc zhongzc commented Nov 20, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Add writer for Puffin in sync and async manner.

Mainly introduce PuffinSyncWriter and PuffinAsyncWriter traits and implementations.

Please note that src/puffin/src/tests.rs is not a bin file, check it by clicking View File.

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)

#2705

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 20, 2023

Codecov Report

Merging #2776 (daa8b46) into develop (20f0121) will decrease coverage by 0.21%.
Report is 1 commits behind head on develop.
The diff coverage is 97.69%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2776      +/-   ##
===========================================
- Coverage    84.36%   84.15%   -0.21%     
===========================================
  Files          726      728       +2     
  Lines       113234   113522     +288     
===========================================
+ Hits         95527    95537      +10     
- Misses       17707    17985     +278     

Comment thread src/puffin/src/tests.rs
Comment thread src/puffin/src/file_format/writer/footer.rs Outdated
Comment thread src/puffin/src/file_format/writer/file.rs Outdated
Comment thread src/puffin/src/file_format/writer/file.rs Outdated
Comment thread src/puffin/src/file_format/writer/footer.rs
Comment thread src/puffin/src/file_format/writer/file.rs
zhongzc and others added 4 commits November 20, 2023 19:02
Co-authored-by: dennis zhuang <killme2008@gmail.com>
Co-authored-by: dennis zhuang <killme2008@gmail.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Copy link
Copy Markdown
Member

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread src/puffin/src/file_format/writer.rs Outdated
Comment thread src/puffin/src/file_format/writer/file.rs Outdated
zhongzc and others added 3 commits November 20, 2023 22:25
Co-authored-by: Yingwen <realevenyag@gmail.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Comment thread src/puffin/src/file_format.rs
Copy link
Copy Markdown
Contributor

@evenyag evenyag left a comment

Choose a reason for hiding this comment

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

Rest LGTM. You can merge the latest develop branch to pass the codecov check.

Comment thread src/puffin/src/file_format/writer/file.rs Outdated
@zhongzc zhongzc enabled auto-merge November 21, 2023 06:29
@zhongzc zhongzc added this pull request to the merge queue Nov 21, 2023
Merged via the queue into GreptimeTeam:develop with commit a7bbd61 Nov 21, 2023
@zhongzc zhongzc deleted the zhongzc/puffin-format-writer branch November 21, 2023 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants