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

Function MakeDropNullFilter

cpp/src/arrow/compute/kernels/vector_selection.cc:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71// DropNull Implementation
72
73std::shared_ptr<arrow::BooleanArray> MakeDropNullFilter(const Array& values) {
74 auto& bitmap_buffer = values.null_bitmap();
75 return std::make_shared<BooleanArray>(values.length(), bitmap_buffer, nullptr, 0,
76 values.offset());
77}
78
79Result<Datum> DropNullArray(const std::shared_ptr<Array>& values, ExecContext* ctx) {
80 if (values->null_count() == 0) {

Callers 1

DropNullArrayFunction · 0.85

Calls 2

lengthMethod · 0.45
offsetMethod · 0.45

Tested by

no test coverage detected