From 9f078e840e45619a6de3d291002e48642fcac28e Mon Sep 17 00:00:00 2001 From: liulx20 <519459125@qq.com> Date: Mon, 20 Jan 2025 10:37:38 +0800 Subject: [PATCH] remove redundant comments --- .../engines/graph_db/runtime/common/operators/retrieve/sink.cc | 2 +- flex/engines/graph_db/runtime/execute/ops/retrieve/project.cc | 3 --- flex/engines/graph_db/runtime/execute/ops/retrieve/scan.cc | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/flex/engines/graph_db/runtime/common/operators/retrieve/sink.cc b/flex/engines/graph_db/runtime/common/operators/retrieve/sink.cc index 4f35e4b5fb17..d4154ede8035 100644 --- a/flex/engines/graph_db/runtime/common/operators/retrieve/sink.cc +++ b/flex/engines/graph_db/runtime/common/operators/retrieve/sink.cc @@ -18,7 +18,7 @@ namespace gs { namespace runtime { -// TODO: Implement the sink function + void Sink::sink(const Context& ctx, const GraphReadInterface& graph, Encoder& output) { size_t row_num = ctx.row_num(); diff --git a/flex/engines/graph_db/runtime/execute/ops/retrieve/project.cc b/flex/engines/graph_db/runtime/execute/ops/retrieve/project.cc index ba19831bccc6..856d4d597c87 100644 --- a/flex/engines/graph_db/runtime/execute/ops/retrieve/project.cc +++ b/flex/engines/graph_db/runtime/execute/ops/retrieve/project.cc @@ -1276,9 +1276,6 @@ std::pair, ContextMeta> ProjectOprBuilder::Build( return std::make_pair( std::make_unique(std::move(exprs), is_append), ret_meta); - // return std::make_pair(std::make_unique( - // plan.plan(op_idx).opr().project(), data_types), - // ret_meta); } class ProjectOrderByOprBeta : public IReadOperator { diff --git a/flex/engines/graph_db/runtime/execute/ops/retrieve/scan.cc b/flex/engines/graph_db/runtime/execute/ops/retrieve/scan.cc index c7c43a122077..4ff11ed2751e 100644 --- a/flex/engines/graph_db/runtime/execute/ops/retrieve/scan.cc +++ b/flex/engines/graph_db/runtime/execute/ops/retrieve/scan.cc @@ -628,8 +628,6 @@ std::pair, ContextMeta> ScanOprBuilder::Build( std::vector(ParamsType)>> oids; for (auto& table : scan_params.tables) { const auto& pks = schema.get_vertex_primary_key(table); - // const auto& [type, _, __] = pks[0]; - const auto& [type, _, __] = pks[0]; auto type_impl = static_cast(type.type_enum); if (types.find(type_impl) == types.end()) {