| 226 | } |
| 227 | |
| 228 | int64_t ArrayData::ComputeLogicalNullCount() const { |
| 229 | if (this->buffers[0] && this->type->id() != Type::DICTIONARY) { |
| 230 | return GetNullCount(); |
| 231 | } |
| 232 | return ArraySpan(*this).ComputeLogicalNullCount(); |
| 233 | } |
| 234 | |
| 235 | DeviceAllocationType ArrayData::device_type() const { |
| 236 | // we're using 0 as a sentinel value for NOT YET ASSIGNED |