| 330 | } |
| 331 | |
| 332 | bool CheckIfAllScalar(const ExecBatch& batch) { |
| 333 | for (const Datum& value : batch.values) { |
| 334 | if (!value.is_scalar()) { |
| 335 | DCHECK(value.is_arraylike()); |
| 336 | return false; |
| 337 | } |
| 338 | } |
| 339 | return batch.num_values() > 0; |
| 340 | } |
| 341 | |
| 342 | } // namespace |
| 343 |
no test coverage detected