Skip to content

Commit

Permalink
Fix existing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zanmato1984 committed Jan 24, 2025
1 parent 003de60 commit eb34058
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions cpp/src/arrow/acero/order_by_node_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ static constexpr int kRowsPerBatch = 4;
static constexpr int kNumBatches = 32;

std::shared_ptr<Table> TestTable() {
return gen::Gen({{"up", gen::Step()},
{"down", gen::Step(/*start=*/0, /*step=*/-1, /*signed_int=*/true)}})
return gen::Gen({{"up", gen::Step()}, {"down", gen::Step(/*start=*/0, /*step=*/-1)}})
->FailOnError()
->Table(kRowsPerBatch, kNumBatches);
}
Expand Down
3 changes: 1 addition & 2 deletions cpp/src/arrow/acero/sorted_merge_node_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ namespace arrow::acero {

std::shared_ptr<Table> TestTable(int start, int step, int rows_per_batch,
int num_batches) {
return gen::Gen({{"timestamp", gen::Step(start, step, /*signed_int=*/true)},
{"str", gen::Random(utf8())}})
return gen::Gen({{"timestamp", gen::Step(start, step)}, {"str", gen::Random(utf8())}})
->FailOnError()
->Table(rows_per_batch, num_batches);
}
Expand Down

0 comments on commit eb34058

Please sign in to comment.