-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
modify subgraph loop condition #4226
Conversation
uint32_t maxSteps = steps.steps(); | ||
if (subgraphCtx_->getEdgeProp || subgraphCtx_->withProp) { | ||
++maxSteps; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does taking properties have to do with the max step of loop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getEdgeProp just indicates whether to output the edge。will fix name, avoid ambiguity
fe973bf
to
c1b9462
Compare
if (subgraphCtx_->getEdgeProp || subgraphCtx_->withProp) { | ||
++maxSteps; | ||
} | ||
auto* condition = loopCondition(maxSteps, gn->outputVar()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Steps of subgraph executor don't keep same with this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no effect
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Description:
The last step of the subgraph is to get all the edges between the visited vetices, if only the output vertices, do not need to take the last step
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:
Checklist:
Tests:
Affects:
Release notes:
Please confirm whether to be reflected in release notes and how to describe: