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

Split multiple (>2) brnached cartesian product with filter #900

Closed
DvirDukhan opened this issue Feb 4, 2020 · 1 comment
Closed

Split multiple (>2) brnached cartesian product with filter #900

DvirDukhan opened this issue Feb 4, 2020 · 1 comment
Assignees

Comments

@DvirDukhan
Copy link
Collaborator

Introduce new optimization for filter re-ordering filters that are after a multiple branched cartesian product. The optimization should create a dual-branched cartesian product, followed by the filter as a child of the original cartesian product.

for example the query MATCH (a), (b), (c) WHERE a.x>b.x RETURN a, b, c

a    b   c
|    |   |
 \   |   /
    CP
     |
 filter (a.x > b.x)

will be optimized by

a   b
|    |
 \  /
   CP 
    |
 filter (a.x > b.x)    c
                  |    |
                   \  /
                   CP 
@DvirDukhan DvirDukhan self-assigned this Feb 4, 2020
@swilly22 swilly22 added this to In progress in RedisGraph 2.2 Feb 4, 2020
@swilly22 swilly22 moved this from In progress to Done in RedisGraph 2.2 Feb 13, 2020
@DvirDukhan
Copy link
Collaborator Author

closed by #906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant