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

Function GetExecValue

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

Source from the content-addressed store, hash-verified

41} // namespace
42
43ExecValue GetExecValue(const Datum& value) {
44 ExecValue result;
45 if (value.is_array()) {
46 result.SetArray(*value.array());
47 } else {
48 result.SetScalar(value.scalar().get());
49 }
50 return result;
51}
52
53int64_t GetTrueCount(const ArraySpan& mask) {
54 if (mask.buffers[0].data != nullptr) {

Callers 1

ExecMethod · 0.85

Calls 6

is_arrayMethod · 0.80
SetScalarMethod · 0.80
SetArrayMethod · 0.45
arrayMethod · 0.45
getMethod · 0.45
scalarMethod · 0.45

Tested by

no test coverage detected