XXX: here temporarily for compatibility with datum, see e.g. MakeStructExec in scalar_nested.cc
| 312 | /// XXX: here temporarily for compatibility with datum, see |
| 313 | /// e.g. MakeStructExec in scalar_nested.cc |
| 314 | int64_t null_count() const { |
| 315 | if (this->is_array()) { |
| 316 | return this->array.GetNullCount(); |
| 317 | } else { |
| 318 | return this->scalar->is_valid ? 0 : 1; |
| 319 | } |
| 320 | } |
| 321 | |
| 322 | const DataType* type() const { |
| 323 | if (this->is_array()) { |