romgrk-comparative opened a new issue #10788: URL: https://github.com/apache/arrow/issues/10788
Hey, I was wondering what's the correct way to read a boolean value from an `arrow::Array`? For `int64_t` types and `string` types we were able to figure out how to read them (example below), however for boolean we're unsure how to read them correctly and how they're encoded. Is it individual bits in the whole `array->GetValues()` returned data? ```c++ // std::shared_ptr<arrow::Array> array; // int64 const int64_t* view = array->GetValues<int64_t>(1,0); // strings const int32_t *offsets = array->GetValues<int32_t>(1, 0); const char *view = array->GetValues<char>(2, 0); ``` It would also be nice to have that information available in the docs. -- 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]
