It really depends. What you want is:

```
auto p_data = GetValues<const char*>(buffers[2], *p_offset);
```

We already have such a function 
https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/util-internal.h#L34.
 This needs to have a null check (so that is `buffer[i]` is null then it 
returns nullptr rather than invoking `->data()`)

Whether this happens depends on the input data

[ Full content available at: https://github.com/apache/arrow/pull/2654 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to