Skip to content

feat(puffin): add file reader#2751

Merged
waynexia merged 15 commits intoGreptimeTeam:developfrom
zhongzc:zhongzc/puffin-format-reader
Nov 20, 2023
Merged

feat(puffin): add file reader#2751
waynexia merged 15 commits intoGreptimeTeam:developfrom
zhongzc:zhongzc/puffin-format-reader

Conversation

@zhongzc
Copy link
Copy Markdown
Collaborator

@zhongzc zhongzc commented Nov 15, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Add parser for Puffin in sync and async manner.

Mainly introduce PuffinSyncReader and PuffinAsyncReader 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>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
@zhongzc zhongzc self-assigned this Nov 15, 2023
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 15, 2023

Codecov Report

Merging #2751 (45e88ea) into develop (3329da5) will decrease coverage by 0.29%.
Report is 13 commits behind head on develop.
The diff coverage is 86.25%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2751      +/-   ##
===========================================
- Coverage    85.42%   85.14%   -0.29%     
===========================================
  Files          769      781      +12     
  Lines       125115   126253    +1138     
===========================================
+ Hits        106881   107497     +616     
- Misses       18234    18756     +522     

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

zhongzc commented Nov 16, 2023

@waynexia @fengjiachun @evenyag PTAL 🕸️

Copy link
Copy Markdown
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.

🚀

Comment thread src/puffin/src/file_format.rs
Comment thread src/puffin/src/file_format/reader/file.rs
Comment thread src/puffin/src/file_format/reader/footer.rs
Comment thread src/puffin/src/file_format/reader/footer.rs Outdated
Comment thread src/puffin/src/file_format/reader/file.rs Outdated
Comment thread src/puffin/src/file_format/reader/file.rs Outdated
Comment thread src/puffin/src/file_format/reader/footer.rs Outdated
Comment thread src/puffin/src/file_format/reader/footer.rs Outdated
Comment thread src/puffin/src/file_format/reader/footer.rs Outdated
Comment thread src/puffin/src/file_format/reader/footer.rs Outdated
Comment thread src/puffin/src/file_format/reader/footer.rs Outdated
zhongzc and others added 11 commits November 17, 2023 16:15
Co-authored-by: Yingwen <realevenyag@gmail.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
@zhongzc
Copy link
Copy Markdown
Collaborator Author

zhongzc commented Nov 17, 2023

All comments are addressed, PTAL again @evenyag

@waynexia waynexia enabled auto-merge November 17, 2023 12:14
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.

LGTM

@waynexia waynexia added this pull request to the merge queue Nov 20, 2023
Merged via the queue into GreptimeTeam:develop with commit d9eeeee Nov 20, 2023
@zhongzc zhongzc deleted the zhongzc/puffin-format-reader branch November 20, 2023 06:36
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