| 702 | } |
| 703 | |
| 704 | bool ArraySpan::IsNullDenseUnion(int64_t i) const { |
| 705 | auto* union_type = checked_cast<const DenseUnionType*>(this->type); |
| 706 | const auto* types = reinterpret_cast<const int8_t*>(this->buffers[1].data); |
| 707 | const auto* offsets = reinterpret_cast<const int32_t*>(this->buffers[2].data); |
| 708 | const int64_t child_id = union_type->child_ids()[types[this->offset + i]]; |
| 709 | const int64_t child_offset = offsets[this->offset + i]; |
| 710 | return this->child_data[child_id].IsNull(child_offset); |
| 711 | } |
| 712 | |
| 713 | bool ArraySpan::IsNullRunEndEncoded(int64_t i) const { |
| 714 | const auto& values = ree_util::ValuesArray(*this); |