| 536 | } |
| 537 | |
| 538 | std::shared_ptr<Array> RandomArrayGenerator::BinaryWithRepeats( |
| 539 | int64_t size, int64_t unique, int32_t min_length, int32_t max_length, |
| 540 | double null_probability, int64_t alignment, MemoryPool* memory_pool) { |
| 541 | auto strings = StringWithRepeats(size, unique, min_length, max_length, null_probability, |
| 542 | alignment, memory_pool); |
| 543 | std::shared_ptr<Array> out; |
| 544 | return *strings->View(binary()); |
| 545 | } |
| 546 | |
| 547 | std::shared_ptr<Array> RandomArrayGenerator::StringView( |
| 548 | int64_t size, int32_t min_length, int32_t max_length, double null_probability, |