| 71 | // DropNull Implementation |
| 72 | |
| 73 | std::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 | |
| 79 | Result<Datum> DropNullArray(const std::shared_ptr<Array>& values, ExecContext* ctx) { |
| 80 | if (values->null_count() == 0) { |
no test coverage detected