| 489 | } |
| 490 | |
| 491 | hash_t HashDataBitmap(const ArraySpan& array) { |
| 492 | EXPECT_EQ(array.type->id(), Type::BOOL); |
| 493 | const auto& bitmap = array.buffers[1]; |
| 494 | return ComputeBitmapHash(bitmap.data, |
| 495 | /*seed=*/0, |
| 496 | /*bit_offset=*/array.offset, |
| 497 | /*num_bits=*/array.length); |
| 498 | } |
| 499 | |
| 500 | std::shared_ptr<BooleanArray> BuildBooleanArray(int len, bool start) { |
| 501 | // This could be memoized in the future to speed up tests. |
no test coverage detected