diff --git a/cpp-ch/local-engine/Parser/RelParsers/JoinRelParser.cpp b/cpp-ch/local-engine/Parser/RelParsers/JoinRelParser.cpp index 6fea3643d289..cc70b8e0f991 100644 --- a/cpp-ch/local-engine/Parser/RelParsers/JoinRelParser.cpp +++ b/cpp-ch/local-engine/Parser/RelParsers/JoinRelParser.cpp @@ -211,7 +211,6 @@ void JoinRelParser::renamePlanColumns(DB::QueryPlan & left, DB::QueryPlan & righ DB::QueryPlanPtr JoinRelParser::parseJoin(const substrait::JoinRel & join, DB::QueryPlanPtr left, DB::QueryPlanPtr right) { - Stopwatch watch(CLOCK_MONOTONIC); auto join_config = JoinConfig::loadFromContext(getContext()); google::protobuf::StringValue optimization_info; optimization_info.ParseFromString(join.advanced_extension().optimization().value()); @@ -320,8 +319,6 @@ DB::QueryPlanPtr JoinRelParser::parseJoin(const substrait::JoinRel & join, DB::Q query_plan = std::move(left); /// hold right plan for profile extra_plan_holder.emplace_back(std::move(right)); - std::cout << "parse bhj time: " << join_opt_info.storage_join_key << "---" << watch.elapsedMicroseconds() / 1000.0 << std::endl; - watch.stop(); } else if (join_opt_info.is_smj) { diff --git a/gluten-substrait/src/main/scala/org/apache/gluten/execution/GlutenWholeStageColumnarRDD.scala b/gluten-substrait/src/main/scala/org/apache/gluten/execution/GlutenWholeStageColumnarRDD.scala index 70846efc3058..de5fc85f356d 100644 --- a/gluten-substrait/src/main/scala/org/apache/gluten/execution/GlutenWholeStageColumnarRDD.scala +++ b/gluten-substrait/src/main/scala/org/apache/gluten/execution/GlutenWholeStageColumnarRDD.scala @@ -77,11 +77,8 @@ class GlutenWholeStageColumnarRDD( _ => ExecutorManager.tryTaskSet(numaBindingInfo) val (inputPartition, inputColumnarRDDPartitions) = castNativePartition(split) - var st = System.nanoTime() val inputIterators = rdds.getIterators(inputColumnarRDDPartitions, context) - logWarning(s"${split.index} rdds get iterators: ${System.nanoTime() - st}") - st = System.nanoTime() - val gen = BackendsApiManager.getIteratorApiInstance.genFirstStageIterator( + BackendsApiManager.getIteratorApiInstance.genFirstStageIterator( inputPartition, context, pipelineTime, @@ -90,8 +87,6 @@ class GlutenWholeStageColumnarRDD( split.index, inputIterators ) - logWarning(s"${split.index} gen iterators: ${System.nanoTime() - st}") - gen } }