-
Notifications
You must be signed in to change notification settings - Fork 847
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
Refactor parquet::arrow module #1827
Refactor parquet::arrow module #1827
Conversation
|
||
#[cfg(feature = "async")] | ||
pub mod async_reader; | ||
|
||
experimental_mod!(converter); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This module is slated for eventual removal as part of #1661
It is marked experimental so hiding it from the public API is not a breaking change
parquet/src/arrow/buffer/mod.rs
Outdated
pub mod offset_buffer; | ||
pub mod dictionary_buffer; | ||
pub mod converter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to eventually upstream many of these into arrow-rs proper
Codecov Report
@@ Coverage Diff @@
## master #1827 +/- ##
==========================================
- Coverage 83.45% 83.45% -0.01%
==========================================
Files 200 200
Lines 56697 56696 -1
==========================================
- Hits 47315 47313 -2
- Misses 9382 9383 +1
Continue to review full report at Codecov.
|
@@ -355,27 +355,6 @@ fn create_string_byte_array_dictionary_reader( | |||
.unwrap() | |||
} | |||
|
|||
fn create_complex_object_byte_array_dictionary_reader( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ComplexObjectArrayReader is no longer used and is slated for removal (#1661 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the reader logic in particular has gotten more sophisticated
Great !👍 I took me a lot of time to figure out how this work 😂
Is there any plan for simplify the reader API ?
Yes, the high level ticket is #1163. I'm hoping to pick it up soon, but large amounts of this API are public so needs some careful thought |
Great! 👍 After implement send row_selection in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way that you have broken down the modules makes sense. Yeah the files had gotten large over time :)
Which issue does this PR close?
Closes #.
Rationale for this change
As the reader logic in particular has gotten more sophisticated, the module has gotten rather large. This moves some files around to make the structure easier to understand
What changes are included in this PR?
module_name/mod.rs
instead of havingmodule_name.rs
andmodule_name/
Are there any user-facing changes?
No