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

Add label filter after multi-labeled extend #1116

Closed
andyfengHKU opened this issue Dec 13, 2022 · 1 comment
Closed

Add label filter after multi-labeled extend #1116

andyfengHKU opened this issue Dec 13, 2022 · 1 comment
Assignees
Labels
feature New features or missing components of existing features

Comments

@andyfengHKU
Copy link
Contributor

Consider query MATCH (a:person)-[:mixed]->(b:person)

Our storage partition list based on bound node label, rel label and direction. So given (:person, :mixed, FWD), we will fetch an adjList that points to both person and organization. We need to apply an additional label filter after extend to make sure only person label will be processed further.

Note this will not cause a bug because later HashJoin will only join on person label. But this should be an optimization.

@andyfengHKU
Copy link
Contributor Author

This is no longer the case because we now only allow one src/dst node per rel. Pruning is done in PR #1329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features or missing components of existing features
Projects
None yet
Development

No branches or pull requests

1 participant