MCPcopy Create free account
hub / github.com/apache/arrow / BatchForEncryption

Function BatchForEncryption

cpp/src/parquet/arrow/generate_fuzz_corpus.cc:532–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532Result<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
542Status DoMain(const std::string& out_dir) {
543 ARROW_ASSIGN_OR_RAISE(auto dir_fn, PlatformFilename::FromString(out_dir));

Callers

nothing calls this directly

Calls 1

BatchFromColumnsFunction · 0.85

Tested by

no test coverage detected