Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions cpp/src/arrow/compute/exec/hash_join_node_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ TEST(HashJoin, Random) {
bool disable_bloom_filter = (rng.from_range(0, 1) == 1);
auto exec_ctx = std::make_unique<ExecContext>(
default_memory_pool(), parallel ? arrow::internal::GetCpuThreadPool() : nullptr);

exec_ctx->set_use_threads(false);
// Constraints
RandomDataTypeConstraints type_constraints;
type_constraints.Default();
Expand All @@ -1033,9 +1033,10 @@ TEST(HashJoin, Random) {
// for EQ only:
// constexpr int key_cmp_mask = 0x01;
constexpr int min_num_rows = 1;
const int max_num_rows = parallel ? 20000 : 2000;
constexpr int min_batch_size = 10;
constexpr int max_batch_size = 100;
const int scale = 1;
const int max_num_rows = parallel ? 20000 * scale : 2000 * scale;
constexpr int min_batch_size = 100 * scale;
constexpr int max_batch_size = 1000 * scale;

// Generate list of key field data types
int num_key_fields = rng.from_range(1, max_num_key_fields);
Expand Down