Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix Inconsistent task execution mode error in presto agg benchmark #12400

Closed
Closed
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ target_link_libraries(
Folly::follybenchmark
gflags::gflags)

add_executable(velox_aggregates_reduce_agg_bm SimpleAggregates.cpp)
add_executable(velox_aggregates_reduce_agg_bm ReduceAgg.cpp)

target_link_libraries(
velox_aggregates_reduce_agg_bm
Expand Down
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
Loading