-
Notifications
You must be signed in to change notification settings - Fork 867
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 arrow-ipc: Move create_*_array
methods into RecordBatchDecoder
#7029
Conversation
137422c
to
e08ad17
Compare
self.require_alignment, | ||
), | ||
]; | ||
self.create_primitive_array(field_node, data_type, &buffers) |
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 idea here is to simply call self.
instead of free functions like create_primitive_array
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 diff is even smaller when viewed without whitespace: https://github.com/apache/arrow-rs/pull/7029/files?w=1
@tustvold I wonder if you have some time to review this (very small without whitespace) diff inline with others we have worked on |
Thank you for the review @tustvold |
…coder` (apache#7029) * Move `create_primitive_array` into RecordBatchReader * Move `create_list-array` into RecordBatchReader * Move `create_dictionay_array` into RecordBatchReader
Which issue does this PR close?
ArrayReader
toRecodeBatchDecoder
#7028Closes #.
Rationale for this change
Continue moving the arrow-ipc deoder functionality into a
struct
so that flags may be passed downWhat changes are included in this PR?
create_primitive_array
intoRecordBatchReader
create_list_array
intoRecordBatchReader
create_dictionay_array
intoRecordBatchReader
Are there any user-facing changes?
No, this is entirely internal reorganizaton