Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi paths. #3318

Merged
merged 6 commits into from
Nov 22, 2021
Merged

Multi paths. #3318

merged 6 commits into from
Nov 22, 2021

Conversation

CPWstatic
Copy link
Contributor

@CPWstatic CPWstatic commented Nov 15, 2021

What type of PR is this?

  • bug
  • feature
  • enhancement

What does this PR do?

Partial work of implementing OpenCypher.

Which issue(s)/PR(s) this PR relates to?

Partial work of implementing OpenCypher.

Special notes for your reviewer, ex. impact of this fix, etc:

Additional context:

Checklist:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatible (If it is incompatible, please describe it and add corresponding label.)
  • Need to cherry-pick (If need to cherry-pick to some branches, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

Please confirm whether to reflect in release notes and how to describe:

                                                            `

@CPWstatic CPWstatic added the ready-for-testing PR: ready for the CI test label Nov 17, 2021
Copy link
Contributor

@jievince jievince left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines 47 to +50
matchClauseCtx->aliasesUsed = aliasesUsed;
NG_RETURN_IF_ERROR(validatePath(matchClause->path(), *matchClauseCtx));
if (matchClause->path()->pathSize() > 1) {
return Status::SemanticError("Multi paths not supported.");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The data structure of MatchClauseContext may need to be redesigned.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do.

@jievince jievince requested a review from czpmango November 22, 2021 02:04
@CPWstatic CPWstatic merged commit 80e827f into vesoft-inc:master Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants