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

[BugFix] Fix bug when process pk scan of multiple labels #3013

Merged
merged 5 commits into from
Jul 17, 2023

Conversation

BingqingLyu
Copy link
Collaborator

Committed-by: bingqing.lbq from Dev container

What do these changes do?

As titled.

Related issue number

Fixes #3008

Committed-by: bingqing.lbq from Dev container
Committed-by: bingqing.lbq from Dev container
longbinlai
longbinlai previously approved these changes Jul 17, 2023
Copy link
Collaborator

@longbinlai longbinlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -1920,6 +1928,52 @@ mod test {
);
}

// e.g., g.V().hasLabel("person", "software").has("name", "John")
#[test]
fn scan_multi_labels_pred_to_idx_pred() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lack a query case with result verification.

Copy link
Collaborator Author

@BingqingLyu BingqingLyu Jul 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a test case in test_min.py, which runs queries on vineyard that supports primary keys.

Committed-by: bingqing.lbq from Dev container
@BingqingLyu BingqingLyu merged commit bb1ce36 into alibaba:main Jul 17, 2023
28 checks passed
@BingqingLyu BingqingLyu deleted the index_scan_bug_fix branch July 17, 2023 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GIE/BUG] Unexpected IndexScan with multiple labels
3 participants