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

Function ScannerTestSchema

cpp/src/arrow/dataset/scanner_test.cc:467–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465constexpr int kRowsPerTestBatch = 16;
466
467std::shared_ptr<Schema> ScannerTestSchema() {
468 return schema({field("row_num", int32()), field("filterable", int16()),
469 field("nested", struct_({field("x", int32()), field("y", int32())}))});
470}
471
472std::shared_ptr<RecordBatch> MakeTestBatch(int idx) {
473 ArrayVector arrays;

Callers 5

MakeTestBatchFunction · 0.85
MakeTestDatasetFunction · 0.85
TESTFunction · 0.85
MakePartitionSkipDatasetFunction · 0.85

Calls 3

struct_Function · 0.85
schemaFunction · 0.50
fieldFunction · 0.50

Tested by

no test coverage detected