Ebraam-Ashraf commented on PR #49443:
URL: https://github.com/apache/arrow/pull/49443#issuecomment-4029353309
It's doable but requires manually crafting raw buffers via
`ArrayData::Make()` like
```cpp
std::vector<OffsetType> raw_offsets = {8, 8, 9, 10};
std::string raw_data(8, 'x');
raw_data += "xx";
auto array_data = ArrayData::Make(type, 3,
{nullptr, Buffer::Wrap(raw_offsets), data_buf}, 1, 0);
```
I can add it if you think it's worth covering but I think adding it not a
problem
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]