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

Move input rows of Traverse and AppendVertices. #4176

Merged
merged 4 commits into from
May 20, 2022

Conversation

Shylock-Hg
Copy link
Contributor

@Shylock-Hg Shylock-Hg commented Apr 19, 2022

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

Close #4172

Description:

How do you solve it?

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

Checklist:

Tests:

  • Unit test(positive and negative cases)
  • Function test
  • Performance test
  • N/A

Affects:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatibility (If it breaks the compatibility, please describe it and add the label.)
  • If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

Please confirm whether to be reflected in release notes and how to describe:

ex. Fixed the bug .....

@Shylock-Hg Shylock-Hg added the ready-for-testing PR: ready for the CI test label Apr 19, 2022
@codecov-commenter
Copy link

codecov-commenter commented Apr 19, 2022

Codecov Report

Merging #4176 (fa64b8a) into master (326b856) will decrease coverage by 0.04%.
The diff coverage is 69.56%.

@@            Coverage Diff             @@
##           master    #4176      +/-   ##
==========================================
- Coverage   84.99%   84.94%   -0.05%     
==========================================
  Files        1326     1326              
  Lines      131713   131770      +57     
==========================================
- Hits       111946   111936      -10     
- Misses      19767    19834      +67     
Impacted Files Coverage Δ
src/graph/executor/Executor.h 100.00% <ø> (ø)
src/graph/context/Iterator.h 70.76% <33.33%> (-1.70%) ⬇️
src/graph/executor/Executor.cpp 80.80% <66.66%> (-0.43%) ⬇️
...rc/graph/executor/query/AppendVerticesExecutor.cpp 98.50% <100.00%> (+0.02%) ⬆️
src/graph/executor/query/TraverseExecutor.cpp 95.29% <100.00%> (+0.02%) ⬆️
src/graph/planner/ngql/SubgraphPlanner.cpp 100.00% <100.00%> (ø)
src/meta/processors/parts/GetSpaceProcessor.cpp 61.29% <0.00%> (-19.36%) ⬇️
src/kvstore/wal/test/AtomicLogBufferTest.cpp 83.15% <0.00%> (-12.64%) ⬇️
src/graph/context/Result.cpp 70.00% <0.00%> (-7.78%) ⬇️
src/kvstore/raftex/Host.cpp 71.70% <0.00%> (-6.44%) ⬇️
... and 55 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a58d945...fa64b8a. Read the comment docs.

@Sophie-Xie Sophie-Xie added this to the v3.2.0 milestone Apr 25, 2022
@@ -682,6 +682,27 @@ void Executor::dropBody(const PlanNode *body) {
}
}

bool Executor::movable(const Variable *var) {
// Only support input variables of current executor
Copy link
Contributor

Choose a reason for hiding this comment

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

what if the data flow and logical flow are different, such as bfsShortestPath operator

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We use reference count to identify it.

@Shylock-Hg Shylock-Hg requested a review from nevermore3 May 19, 2022 06:54
@Sophie-Xie Sophie-Xie merged commit 4cf2b85 into vesoft-inc:master May 20, 2022
@Shylock-Hg Shylock-Hg deleted the enhancement/move-input-rows branch May 20, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move input rows in Traverse/AppendVertices based on lifetime analysis
5 participants