| 91 | } |
| 92 | |
| 93 | Status MakeRandomInt64Array(int64_t length, bool include_nulls, MemoryPool* pool, |
| 94 | std::shared_ptr<Array>* out, uint32_t seed) { |
| 95 | random::RandomArrayGenerator rand(seed); |
| 96 | const double null_probability = include_nulls ? 0.5 : 0.0; |
| 97 | |
| 98 | *out = rand.Int64(length, 0, 1000, null_probability); |
| 99 | |
| 100 | return Status::OK(); |
| 101 | } |
| 102 | |
| 103 | namespace { |
| 104 |
no test coverage detected