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

Function TestTable

cpp/src/arrow/acero/sorted_merge_node_test.cc:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41namespace arrow::acero {
42
43std::shared_ptr<Table> TestTable(int start, int step, int rows_per_batch,
44 int num_batches) {
45 return gen::Gen({{"timestamp", gen::Step(start, step)}, {"str", gen::Random(utf8())}})
46 ->FailOnError()
47 ->Table(rows_per_batch, num_batches);
48}
49
50TEST(SortedMergeNode, Basic) {
51 auto table1 = TestTable(

Callers 1

TESTFunction · 0.70

Calls 5

StepFunction · 0.85
FailOnErrorMethod · 0.80
GenFunction · 0.50
RandomFunction · 0.50
TableMethod · 0.45

Tested by

no test coverage detected