-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
GH-34056: [C++] Add Utility function to simplify converting any row-based structure into an arrow::RecordBatchReader
or an arrow::Table
#34057
Conversation
|
@wjones127 If you could take a look, thanks. |
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.
Thanks for submitting this! It would be nice to have at least one example with nested row data.
I'd suggest either adding another test, or to be more complete it would be interesting to see how the rapidjson example would be changed to use this.
Co-authored-by: Will Jones <willjones127@gmail.com>
Co-authored-by: Will Jones <willjones127@gmail.com>
Co-authored-by: Will Jones <willjones127@gmail.com>
Co-authored-by: Will Jones <willjones127@gmail.com>
Co-authored-by: Will Jones <willjones127@gmail.com>
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.
Just two minor changes, then I think this is ready to go.
Co-authored-by: Will Jones <willjones127@gmail.com>
Co-authored-by: Will Jones <willjones127@gmail.com>
Committed the last 2 suggested changes, let me know if there is anything else you would like to see updated @wjones127 |
@gringasalpastor There seems to be one CI failure that is legitimate. Could you address that?
|
@wjones127 Thanks, I just pushed a new commit to add documentation for these. |
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.
Thanks @gringasalpastor!
Benchmark runs are scheduled for baseline = 92d91f5 and contender = 7828165. 7828165 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
… row-based structure into an `arrow::RecordBatchReader` or an `arrow::Table` (apache#34057) *Are these changes tested?* The following tests are provided: - basic usage - const ranges - custom struct accessor - usage with `std::variant` * Closes: apache#34056 Lead-authored-by: Mike Hancock <mhancock34@bloomberg.net> Co-authored-by: Michael Hancock <javaiscoolmike@gmail.com> Co-authored-by: Will Jones <willjones127@gmail.com> Signed-off-by: Will Jones <willjones127@gmail.com>
Are these changes tested?
The following tests are provided:
std::variant
arrow::RecordBatchReader
or anarrow::Table
#34056