From f7018268c29910c672c43728831999da1c40e77f Mon Sep 17 00:00:00 2001 From: Jialiang Tan Date: Wed, 19 Jul 2023 13:52:51 -0700 Subject: [PATCH] Remove IMemoryManager interface Summary: Removing the interface as there is no use case needed for this interface X-link: https://github.com/facebookincubator/velox/pull/5703 Reviewed By: xiaoxmeng Differential Revision: D47560079 Pulled By: tanjialiang fbshipit-source-id: f6bd797b780dcadbc7768bde9dba2317518a259a --- presto-native-execution/presto_cpp/main/PrestoServer.cpp | 2 +- .../presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp | 6 +++--- presto-native-execution/velox | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/presto-native-execution/presto_cpp/main/PrestoServer.cpp b/presto-native-execution/presto_cpp/main/PrestoServer.cpp index 88a409b8600c6..df7213a0b682f 100644 --- a/presto-native-execution/presto_cpp/main/PrestoServer.cpp +++ b/presto-native-execution/presto_cpp/main/PrestoServer.cpp @@ -499,7 +499,7 @@ void PrestoServer::initializeVeloxMemory() { memory::MemoryAllocator::setDefaultInstance(allocator_.get()); // Set up velox memory manager. - memory::MemoryManager::Options options; + memory::MemoryManagerOptions options; options.capacity = memoryBytes; options.checkUsageLeak = systemConfig->enableMemoryLeakCheck(); if (systemConfig->enableMemoryArbitration()) { diff --git a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp index 15a347b0944c3..99914fdda8f4d 100644 --- a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp +++ b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp @@ -2565,7 +2565,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan( "root", partitioningKeys, numPartitions, - false, // broadcast + core::PartitionedOutputNode::Kind::kPartitioned, partitioningScheme.replicateNullsAndAny, std::make_shared(), outputType, @@ -2585,7 +2585,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan( "root", partitioningKeys, numPartitions, - false, // broadcast + core::PartitionedOutputNode::Kind::kPartitioned, partitioningScheme.replicateNullsAndAny, std::make_shared( inputType, keyChannels, constValues), @@ -2633,7 +2633,7 @@ core::PlanFragment VeloxQueryPlanConverterBase::toVeloxQueryPlan( "root", partitioningKeys, numPartitions, - false, // broadcast + core::PartitionedOutputNode::Kind::kPartitioned, partitioningScheme.replicateNullsAndAny, std::make_shared( hivePartitioningHandle->bucketCount, diff --git a/presto-native-execution/velox b/presto-native-execution/velox index 3b0509a5203e9..40b1dafe1f4d5 160000 --- a/presto-native-execution/velox +++ b/presto-native-execution/velox @@ -1 +1 @@ -Subproject commit 3b0509a5203e944e3582fbe86c561c49cc7c20cb +Subproject commit 40b1dafe1f4d5b53104824156e3f8f03bf2bdcef