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

Function TestTable

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

Source from the content-addressed store, hash-verified

42static constexpr int kNumBatches = 32;
43
44std::shared_ptr<Table> TestTable() {
45 return gen::Gen({{"up", gen::Step()}, {"down", gen::Step(/*start=*/0, /*step=*/-1)}})
46 ->FailOnError()
47 ->Table(kRowsPerBatch, kNumBatches);
48}
49
50void CheckOrderBy(OrderByNodeOptions options) {
51 constexpr random::SeedType kSeed = 42;

Callers 2

CheckOrderByFunction · 0.70
CheckOrderByInvalidFunction · 0.70

Calls 4

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

Tested by

no test coverage detected