Skip to content

Commit

Permalink
Refine go planner (vesoft-inc#1473)
Browse files Browse the repository at this point in the history
* refine go planner

* update

* fix ctest

Co-authored-by: jie.wang <38901892+jievince@users.noreply.github.com>
  • Loading branch information
nebula-bots and jievince authored Oct 20, 2022
1 parent 45786bd commit 50520eb
Show file tree
Hide file tree
Showing 7 changed files with 616 additions and 167 deletions.
6 changes: 2 additions & 4 deletions src/graph/context/ast/QueryAstContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,10 @@ struct GoContext final : AstContext {
bool joinInput{false};
// true when $$.tag.prop exist
bool joinDst{false};
// true when yield clause only yield distinct dst id
bool onlyYieldDistinctDstId{false};
// true when edge props only use dst id
bool edgePropsOnlyUseDstId{false};
// Optimize for some simple go sentence which only need dst id.
bool isSimple{false};
// The column name used by plan node`GetDstBySrc`
std::string dstIdColName{kDst};

ExpressionProps exprProps;

Expand Down
Loading

0 comments on commit 50520eb

Please sign in to comment.