@@ -439,14 +439,14 @@ Feature: Prune Properties rule
439
439
| length (p ) |
440
440
| 1 |
441
441
And the execution plan should be:
442
- | id | name | dependencies | operator info |
443
- | 13 | Project | 11 | |
444
- | 11 | Limit | 5 | |
445
- | 5 | AppendVertices | 4 | { "props ": "[{\"props \":[\"_tag \"],\"tagId \":8 }, {\"props \":[\"_tag \"],\"tagId \":9 }, {\"props \":[\"_tag \"],\"tagId \":10 }]" } |
446
- | 4 | Traverse | 2 | {"vertexProps ": "", " edgeProps ": "[{\"type \": 3 , \"props \": [\"_type \", \"_rank \", \"_dst \"]}]" } |
447
- | 2 | Dedup | 1 | |
448
- | 1 | PassThrough | 3 | |
449
- | 3 | Start | | |
442
+ | id | name | dependencies | operator info |
443
+ | 13 | Project | 11 | |
444
+ | 11 | Limit | 5 | |
445
+ | 5 | AppendVertices | 4 | { "props ": "[{\"props \":[\"_tag \", \" name \", \" speciality \" ],\"tagId \":8 }, {\"props \":[\"_tag \", \" name \", \" age \" ],\"tagId \":9 }, {\"props \":[\"_tag \", \" name \" ],\"tagId \":10 }]" } |
446
+ | 4 | Traverse | 2 | {"vertexProps ": "[{\" props \":[\" name \", \" age \", \" _tag \"],\" tagId \": 9 }, {\" props \":[\" name \", \" speciality \", \" _tag \"],\" tagId \": 8 }, {\" props \":[\" name \", \" _tag \"],\" tagId \": 10 }]", " edgeProps ": "[{\"type \": 3 , \"props \": [\"_type \", \"_rank \", \"_dst \", \" _src \", \" likeness \" ]}]" } |
447
+ | 2 | Dedup | 1 | |
448
+ | 1 | PassThrough | 3 | |
449
+ | 3 | Start | | |
450
450
When profiling query:
451
451
"""
452
452
MATCH p = (a:player)-[e:like*1..3]->(b:player{age:39})
@@ -466,20 +466,20 @@ Feature: Prune Properties rule
466
466
| "Tracy McGrady " | 1 |
467
467
| "Tracy McGrady " | 3 |
468
468
And the execution plan should be:
469
- | id | name | dependencies | operator info |
470
- | 14 | Project | 13 | |
471
- | 13 | BiInnerJoin | 15 ,12 | |
472
- | 15 | Project | 17 | |
473
- | 17 | AppendVertices | 16 | { "props ": "[{\"props \":[\"name \",\" age \"],\"tagId \":9 }]" } |
474
- | 16 | Traverse | 2 | {"vertexProps ": "", " edgeProps ": "[{\"type \": 3 , \"props \": [\"_type \", \"_rank \", \"_dst \"]}]" } |
475
- | 2 | Dedup | 1 | |
476
- | 1 | PassThrough | 3 | |
477
- | 3 | Start | | |
478
- | 12 | Project | 18 | |
479
- | 18 | AppendVertices | 10 | { "props ": "[{\"props \":[\"_tag \"],\"tagId \":10 }]" } |
480
- | 10 | Traverse | 8 | {"vertexProps ": "[{\"props \":[\"name \",\"age \"],\"tagId \":9 }]", " edgeProps ": "[{\"type \": 4 , \"props \": [\"_type \", \"_rank \", \"_dst \"]}]" } |
481
- | 8 | Argument | | |
482
- | 9 | Start | | |
469
+ | id | name | dependencies | operator info |
470
+ | 14 | Project | 13 | |
471
+ | 13 | BiInnerJoin | 15 ,12 | |
472
+ | 15 | Project | 17 | |
473
+ | 17 | AppendVertices | 16 | { "props ": "[{\"props \":[\"_tag \", \" name \", \" speciality \"],\" tagId \": 8 }, {\" props \":[\" _tag \", \" name \", \" age \"],\"tagId \":9 }, {\" props \":[\" _tag \", \" name \"],\" tagId \": 10 }]" } |
474
+ | 16 | Traverse | 2 | {"vertexProps ": "[{\" props \":[\" name \", \" age \", \" _tag \"],\" tagId \": 9 }, {\" props \":[\" name \", \" speciality \", \" _tag \"],\" tagId \": 8 }, {\" props \":[\" name \", \" _tag \"],\" tagId \": 10 }]", " edgeProps ": "[{\"type \": 3 , \"props \": [\"_type \", \"_rank \", \"_dst \", \" _src \", \" likeness \" ]}]" } |
475
+ | 2 | Dedup | 1 | |
476
+ | 1 | PassThrough | 3 | |
477
+ | 3 | Start | | |
478
+ | 12 | Project | 18 | |
479
+ | 18 | AppendVertices | 10 | { "props ": "[{\"props \":[\"_tag \"],\"tagId \":10 }]" } |
480
+ | 10 | Traverse | 8 | {"vertexProps ": "[{\"props \":[\"name \", \"age \", \" _tag \" ],\"tagId \":9 }, {\" props \":[\" name \", \" speciality \", \" _tag \"],\" tagId \": 8 }, {\" props \":[\" name \", \" _tag \"],\" tagId \": 10 }]", " edgeProps ": "[{\"type \": 4 , \"props \": [\"_type \", \"_rank \", \"_dst \"]}]" } |
481
+ | 8 | Argument | | |
482
+ | 9 | Start | | |
483
483
484
484
@distonly
485
485
Scenario : union match
0 commit comments