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

Function TestTable

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

Source from the content-addressed store, hash-verified

35namespace arrow::acero {
36
37std::shared_ptr<Table> TestTable(int start, int step, int rows_per_batch,
38 int num_batches) {
39 return gen::Gen({{"timestamp", gen::Step(start, step)}, {"str", gen::Random(utf8())}})
40 ->FailOnError()
41 ->Table(rows_per_batch, num_batches);
42}
43
44TEST(SortedMergeNode, Basic) {
45 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