| 545 | } |
| 546 | |
| 547 | hash_t HashDataBitmap(const ArraySpan& array) { |
| 548 | EXPECT_EQ(array.type->id(), Type::BOOL); |
| 549 | const auto& bitmap = array.buffers[1]; |
| 550 | return ComputeBitmapHash(bitmap.data, |
| 551 | /*seed=*/0, |
| 552 | /*bit_offset=*/array.offset, |
| 553 | /*num_bits=*/array.length); |
| 554 | } |
| 555 | |
| 556 | std::shared_ptr<BooleanArray> BuildBooleanArray(int len, bool start) { |
| 557 | // This could be memoized in the future to speed up tests. |
no test coverage detected