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

"lookup on test where test.flag == true yield 1|yeild(count(*)) " can support PushFilterDownAggregate ? #4906

Open
cl-2048 opened this issue Nov 18, 2022 · 0 comments
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@cl-2048
Copy link

cl-2048 commented Nov 18, 2022

Introduction
when i use index to count tag with filter condition , dashboard indicated one graphd service mem increased high to 80%;
"lookup on test where test.flag == true yield id(vertex)|yeild(count())"
the graphd service collect all id(vertex) to one instance,it means "lookup |count" is unsafe ;
can optimize "lookup where yield id(vertex)|yield count(
)" by pushdown count to storage?
maybe to use "lookup on test where test.flag==true yield count(*) " instead;
Contents

Related work

@cl-2048 cl-2048 added the type/enhancement Type: make the code neat or more efficient label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

1 participant