Skip to content

Commit

Permalink
remove redundant comments
Browse files Browse the repository at this point in the history
  • Loading branch information
liulx20 committed Jan 20, 2025
1 parent ee70ec1 commit 9f078e8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 0 additions & 3 deletions flex/engines/graph_db/runtime/execute/ops/retrieve/project.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1276,9 +1276,6 @@ std::pair<std::unique_ptr<IReadOperator>, ContextMeta> ProjectOprBuilder::Build(

return std::make_pair(
std::make_unique<ProjectOpr>(std::move(exprs), is_append), ret_meta);
// return std::make_pair(std::make_unique<ProjectOpr>(
// plan.plan(op_idx).opr().project(), data_types),
// ret_meta);
}

class ProjectOrderByOprBeta : public IReadOperator {
Expand Down
2 changes: 0 additions & 2 deletions flex/engines/graph_db/runtime/execute/ops/retrieve/scan.cc
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,6 @@ std::pair<std::unique_ptr<IReadOperator>, ContextMeta> ScanOprBuilder::Build(
std::vector<std::function<std::vector<Any>(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<int>(type.type_enum);
if (types.find(type_impl) == types.end()) {
Expand Down

0 comments on commit 9f078e8

Please sign in to comment.