| 1438 | } |
| 1439 | |
| 1440 | std::shared_ptr<arrow::RecordBatch> GenerateBatch(const FieldVector& fields, |
| 1441 | int64_t length, SeedType seed, |
| 1442 | int64_t alignment, |
| 1443 | MemoryPool* memory_pool) { |
| 1444 | return RandomArrayGenerator(seed).BatchOf(fields, length, alignment, memory_pool); |
| 1445 | } |
| 1446 | } // namespace random |
| 1447 | |
| 1448 | void rand_day_millis(int64_t N, std::vector<DayTimeIntervalType::DayMilliseconds>* out) { |