| 80 | } |
| 81 | |
| 82 | Status MakeRandomInt32Array(int64_t length, bool include_nulls, MemoryPool* pool, |
| 83 | std::shared_ptr<Array>* out, uint32_t seed, int32_t min, |
| 84 | int32_t max) { |
| 85 | random::RandomArrayGenerator rand(seed); |
| 86 | const double null_probability = include_nulls ? 0.5 : 0.0; |
| 87 | |
| 88 | *out = rand.Int32(length, min, max, null_probability); |
| 89 | |
| 90 | return Status::OK(); |
| 91 | } |
| 92 | |
| 93 | Status MakeRandomInt64Array(int64_t length, bool include_nulls, MemoryPool* pool, |
| 94 | std::shared_ptr<Array>* out, uint32_t seed) { |
no test coverage detected