Skip to content

Commit

Permalink
fix: Fix Inconsistent task execution mode error in presto agg benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
zhli1142015 committed Feb 20, 2025
1 parent 82e00de commit 4807510
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class ReduceAggBenchmark : public HiveConnectorTestBase {
std::move(plan),
0,
core::QueryCtx::create(executor_.get()),
exec::Task::ExecutionMode::kParallel);
exec::Task::ExecutionMode::kSerial);

task->addSplit(
"0", exec::Split(makeHiveConnectorSplit(filePath_->getPath())));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ namespace {
class SimpleAggregatesBenchmark : public HiveConnectorTestBase {
public:
SimpleAggregatesBenchmark() {
OperatorTestBase::SetUpTestCase();
HiveConnectorTestBase::SetUp();

inputType_ = ROW({
Expand Down Expand Up @@ -166,7 +165,7 @@ class SimpleAggregatesBenchmark : public HiveConnectorTestBase {
std::move(plan),
0,
core::QueryCtx::create(executor_.get()),
exec::Task::ExecutionMode::kParallel);
exec::Task::ExecutionMode::kSerial);
}

private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class TwoStringKeysBenchmark : public HiveConnectorTestBase {
std::move(plan),
0,
core::QueryCtx::create(executor_.get()),
exec::Task::ExecutionMode::kParallel);
exec::Task::ExecutionMode::kSerial);

task->addSplit(
"0", exec::Split(makeHiveConnectorSplit((filePath_->getPath()))));
Expand Down

0 comments on commit 4807510

Please sign in to comment.