MCPcopy Create free account
hub / github.com/apache/arrow / GetBitmap

Function GetBitmap

cpp/src/arrow/compute/kernels/scalar_if_else.cc:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49namespace {
50
51inline Bitmap GetBitmap(const ExecValue& val, int i) {
52 if (val.is_array()) {
53 return Bitmap{val.array.buffers[i].data, val.array.offset, val.array.length};
54 } else {
55 // scalar
56 return {};
57 }
58}
59
60// Ensure parameterized types are identical.
61Status CheckIdenticalTypes(const ExecValue* begin, int count) {

Callers 1

IfElseNullPromoterMethod · 0.70

Calls 1

is_arrayMethod · 0.80

Tested by

no test coverage detected