-
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
Enhancement/push filter down AppendVertices #5490
base: master
Are you sure you want to change the base?
Enhancement/push filter down AppendVertices #5490
Conversation
39a1885
to
8bf34ae
Compare
e0d12ae
to
6b3083e
Compare
36f543f
to
2069a2d
Compare
Add tck small change fix tck fix tck Fix tck flush vscode ... small fix Fix tck
3a0bc58
to
e22e6c7
Compare
auto pool = qctx->objPool(); | ||
auto condition = graph::ExpressionUtils::rewriteVertexPropertyFilter( | ||
pool, appendVertices->colNames().back(), filter->condition()->clone()); | ||
|
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.
Need to port the latest version of this file from the ent repo. I introduced a bug fix here at line:48.
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.
Which pr?
| 1 | PassThrough | 3 | | | ||
| 3 | Start | | | | ||
|
||
# FIXME(czp): Disable this for now. The ngdata test set lacks validation mechanisms |
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 disable this test? At least we need to check the code, if these queries produced different results. Did you encounter a different result here? Being different itself is a potential problem.
We need to have complex datasets like ngdata in the CI. It's necessary. Validation could be improved later.
# | id | name | dependencies | operator info | | ||
# | 9 | Aggregate | 11 | | | ||
# | 11 | Project | 10 | | | ||
# | 10 | Filter | 6 | | |
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.
This filter was gone in the ent version, after pushing the filter down into appendvertices, hence there is such a tck case here.
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Fix #5492
Fix https://github.com/vesoft-inc/nebula-ent/issues/2604
Description:
Just move the optimizer rule from ent version.
Special notes for your reviewer, ex. impact of this fix, design document, etc:
Checklist:
Tests:
Affects: