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

EdgeIndexPrefixScan degenerates to EdgeIndexFullScan + Filter #3143

Open
jievince opened this issue Oct 19, 2021 · 0 comments
Open

EdgeIndexPrefixScan degenerates to EdgeIndexFullScan + Filter #3143

jievince opened this issue Oct 19, 2021 · 0 comments
Assignees
Labels
priority/low-pri Priority: low type/enhancement Type: make the code neat or more efficient

Comments

@jievince
Copy link
Contributor

# a IN b AND c (EdgeIndexPrefixScan)
When profiling query:
  """
  LOOKUP ON edge_1
  WHERE edge_1.col2_int IN [11 , 66/2] AND edge_1.col2_int==11
  YIELD edge_1.col2_int
  """
Then the result should be, in any order:
  | SrcVID | DstVID | Ranking | edge_1.col2_int |
  | "101"  | "102"  | 0       | 11              |
And the execution plan should be:
  | id | name                | dependencies | operator info |
  | 3  | Project             | 4            |               |
  | 4  | EdgeIndexPrefixScan | 0            |               |
  | 0  | Start               |              |               |
@jievince jievince added type/bug Type: something is unexpected priority/low-pri Priority: low labels Oct 19, 2021
@Sophie-Xie Sophie-Xie added this to the v3.0.0 milestone Oct 20, 2021
@Sophie-Xie Sophie-Xie added the need to discuss Solution: issue or PR without a clear conclusion on whether to handle it label Jan 4, 2022
@Sophie-Xie Sophie-Xie modified the milestones: v3.0.0, v3.1.0 Jan 11, 2022
@Sophie-Xie Sophie-Xie assigned CPWstatic and unassigned czpmango Feb 28, 2022
@Sophie-Xie Sophie-Xie added type/enhancement Type: make the code neat or more efficient and removed type/bug Type: something is unexpected need to discuss Solution: issue or PR without a clear conclusion on whether to handle it labels Mar 25, 2022
@Sophie-Xie Sophie-Xie modified the milestones: v3.1.0, v3.2.0 Apr 17, 2022
@Sophie-Xie Sophie-Xie removed this from the v3.2.0 milestone May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/low-pri Priority: low type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

5 participants