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(puffin): add file reader #2751

Merged
merged 15 commits into from
Nov 20, 2023

Conversation

zhongzc
Copy link
Contributor

@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 <[email protected]>
@zhongzc zhongzc self-assigned this Nov 15, 2023
Copy link

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     

@zhongzc
Copy link
Contributor Author

zhongzc commented Nov 16, 2023

@waynexia @fengjiachun @evenyag PTAL 🕸️

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.

🚀

src/puffin/src/file_format.rs Show resolved Hide resolved
src/puffin/src/file_format/reader/file.rs Show resolved Hide resolved
src/puffin/src/file_format/reader/footer.rs Show resolved Hide resolved
src/puffin/src/file_format/reader/footer.rs Outdated Show resolved Hide resolved
src/puffin/src/file_format/reader/file.rs Outdated Show resolved Hide resolved
src/puffin/src/file_format/reader/file.rs Outdated Show resolved Hide resolved
src/puffin/src/file_format/reader/footer.rs Outdated Show resolved Hide resolved
src/puffin/src/file_format/reader/footer.rs Outdated Show resolved Hide resolved
src/puffin/src/file_format/reader/footer.rs Outdated Show resolved Hide resolved
src/puffin/src/file_format/reader/footer.rs Outdated Show resolved Hide resolved
src/puffin/src/file_format/reader/footer.rs Outdated Show resolved Hide resolved
@zhongzc
Copy link
Contributor 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
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
12 checks passed
@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