| 1447 | } |
| 1448 | |
| 1449 | std::shared_ptr<arrow::RecordBatch> GenerateBatch(const FieldVector& fields, |
| 1450 | int64_t length, SeedType seed, |
| 1451 | int64_t alignment, |
| 1452 | MemoryPool* memory_pool) { |
| 1453 | return RandomArrayGenerator(seed).BatchOf(fields, length, alignment, memory_pool); |
| 1454 | } |
| 1455 | } // namespace random |
| 1456 | |
| 1457 | void rand_day_millis(int64_t N, std::vector<DayTimeIntervalType::DayMilliseconds>* out) { |