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: implement Rust and Python APIs to read file slices #28

Merged
merged 6 commits into from
Jun 27, 2024

Conversation

xushiyan
Copy link
Member

@xushiyan xushiyan commented Jun 26, 2024

  • Support python APIs to retrieve the latest file slices
  • Support python APIs to read file slice as pyarrow.RecordBatch
  • Implement Rust logic to fetch num records in parquet file
  • Implement Rust logic to read parquet file into arrow.RecordBatch

Fixes #29

@xushiyan xushiyan added this to the release-0.1.0 milestone Jun 26, 2024
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

Attention: Patch coverage is 82.18391% with 31 lines in your changes missing coverage. Please review.

Project coverage is 77.23%. Comparing base (da217e5) to head (31c2d36).

Files Patch % Lines
python/src/lib.rs 0.00% 24 Missing ⚠️
crates/datafusion/src/lib.rs 0.00% 5 Missing ⚠️
crates/core/src/table/mod.rs 94.44% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   76.75%   77.23%   +0.48%     
==========================================
  Files          12       12              
  Lines         413      492      +79     
==========================================
+ Hits          317      380      +63     
- Misses         96      112      +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xushiyan xushiyan changed the title feat: support more Python APIs feat: support Rust and Python APIs to read file slices Jun 26, 2024
@xushiyan xushiyan changed the title feat: support Rust and Python APIs to read file slices feat: implement Rust and Python APIs to read file slices Jun 26, 2024
@xushiyan xushiyan merged commit e15174d into apache:main Jun 27, 2024
6 checks passed
@xushiyan xushiyan deleted the adjust-python-api branch June 27, 2024 04:29
@xushiyan xushiyan mentioned this pull request Jul 12, 2024
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Rust and Python APIs to read file slices as Arrow RecordBatch
1 participant