-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-1080: C++: Add tutorial about converting to/from row-wise representation #721
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
Conversation
|
cc @pacman82 |
BryanCutler
left a comment
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 doing this, it looks great! I just had that one minor question, otherwise LGTM
| auto costs = std::static_pointer_cast<arrow::DoubleArray( | ||
| table->column(1)->data()->chunk(1)); | ||
| auto cost_components = std::static_pointer_cast<arrow::ListArray( | ||
| table->column(2)->data()->chunk(2)); |
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.
Should this and the above be ->chunk(0)?
|
@xhochy are you open to suggestions about grammar / wording on this change? |
|
@jeffknupp As I'm not a native English speaker, I'm very grateful for that ;) |
Change-Id: I7284498c3d5ba1da4da257d5341fd2a3d7023a3d
wesm
left a comment
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.
+1
|
I think it's fine to submit follow up patches to expand or improve this part of the docs |
…apache#722) ## What's Changed Allow actually reaching MAX_BUFFER_SIZE at reallocating variable width vectors instead of exceeding it calculating the next power of 2. For unit testing the maximum allocation size has be increased to 2MB - 1byte to simulate the default maximum behavior. Due to this change needed some updates in existing unit tests because of the round ups used at calculating the required buffer sizes. Closes apache#721.
No description provided.