-
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
Remove the pruning of Expression::Kind::kVarProperty in agg. #4990
Conversation
6ee10a5
to
099797c
Compare
Codecov ReportBase: 76.86% // Head: 76.82% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #4990 +/- ##
==========================================
- Coverage 76.86% 76.82% -0.05%
==========================================
Files 1105 1105
Lines 81432 81473 +41
==========================================
- Hits 62594 62588 -6
- Misses 18838 18885 +47
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Close #4974
Description:
match (v0:player)-[e0]->(v1) where id(v0) == "Tim Duncan" unwind e0.start_year as a return count(a)
$a was pruned in this query, causing the unwind operator to produce NULL dataset, which in the end leads to wrong counting results.
How do you solve it?
Disable the pruning of
Expression::Kind::kVarProperty
andExpression::Kind::kInputProperty
in PropertyTrackerVisitor.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: