From 1f1fd91d1c138070835a0e55ff4e7daf52d0cd31 Mon Sep 17 00:00:00 2001 From: Jiaqi Zhang Date: Thu, 5 Dec 2024 21:14:50 -0800 Subject: [PATCH] Fix compilation issue (#24213) Added the new localWriter argument. --- .../presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp | 8 +++++++- presto-native-execution/velox | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp index eeab749ff2997..ce4e2fb322807 100644 --- a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp +++ b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp @@ -355,6 +355,7 @@ std::shared_ptr buildLocalSystemPartitionNode( return std::make_shared( node->id, type, + false, std::make_shared(outputType, keyChannels), std::move(sourceNodes)); } @@ -363,6 +364,7 @@ std::shared_ptr buildLocalSystemPartitionNode( return std::make_shared( node->id, type, + false, std::make_shared(), std::move(sourceNodes)); } @@ -455,7 +457,11 @@ core::PlanNodePtr VeloxQueryPlanConverterBase::toVeloxQueryPlan( return core::LocalPartitionNode::gather(node->id, std::move(sourceNodes)); } return std::make_shared( - node->id, type, std::shared_ptr(std::move(spec)), std::move(sourceNodes)); + node->id, + type, + false, + std::shared_ptr(std::move(spec)), + std::move(sourceNodes)); } namespace { diff --git a/presto-native-execution/velox b/presto-native-execution/velox index 28c319e6eb2a8..72054031f1b39 160000 --- a/presto-native-execution/velox +++ b/presto-native-execution/velox @@ -1 +1 @@ -Subproject commit 28c319e6eb2a8ea77718ae3d53b2f79f5fddd75e +Subproject commit 72054031f1b3942627669fbb8ae1f9f668090da3