| 530 | } |
| 531 | |
| 532 | Result<std::shared_ptr<RecordBatch>> BatchForEncryption() { |
| 533 | // We have several columns so reduce the number of rows to keep a small file size |
| 534 | constexpr int32_t kBatchSize = 200; |
| 535 | // XXX remove all_types and use our own column generation instead? |
| 536 | |
| 537 | ARROW_ASSIGN_OR_RAISE(auto columns, ExampleColumns(kBatchSize, /*null_probability=*/0.2, |
| 538 | /*all_types=*/false)); |
| 539 | return BatchFromColumns(columns, kBatchSize); |
| 540 | } |
| 541 | |
| 542 | Status DoMain(const std::string& out_dir) { |
| 543 | ARROW_ASSIGN_OR_RAISE(auto dir_fn, PlatformFilename::FromString(out_dir)); |
nothing calls this directly
no test coverage detected