| 527 | } |
| 528 | |
| 529 | std::shared_ptr<Array> RandomArrayGenerator::BinaryWithRepeats( |
| 530 | int64_t size, int64_t unique, int32_t min_length, int32_t max_length, |
| 531 | double null_probability, int64_t alignment, MemoryPool* memory_pool) { |
| 532 | auto strings = StringWithRepeats(size, unique, min_length, max_length, null_probability, |
| 533 | alignment, memory_pool); |
| 534 | std::shared_ptr<Array> out; |
| 535 | return *strings->View(binary()); |
| 536 | } |
| 537 | |
| 538 | std::shared_ptr<Array> RandomArrayGenerator::StringView( |
| 539 | int64_t size, int32_t min_length, int32_t max_length, double null_probability, |