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

Fix predicate #354

Merged
merged 7 commits into from
May 26, 2021
Merged

Fix predicate #354

merged 7 commits into from
May 26, 2021

Conversation

BingqingLyu
Copy link
Collaborator

What do these changes do?

Related issue number

Fixes #286

longbinlai and others added 2 commits May 26, 2021 14:41
| Some(pb_type::value::Item::I32(_))
| Some(pb_type::value::Item::I64(_))
| Some(pb_type::value::Item::F64(_))
| Some(pb_type::value::Item::Str(_)) => unimplemented!(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

These unimplemented stuff is not so hard to fix.

if let Some(right) = right {
Ok(contains_property(name.clone(), right))
} else {
unimplemented!()
Copy link
Collaborator

Choose a reason for hiding this comment

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

and these unimplemented ones.

unimplemented!()
}
}
None => unimplemented!(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should None case be handled?

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.

Add the corresponding test case to verify if bugs have been fixed.

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.

119/286 Gremlin test cases passed !!!

@longbinlai longbinlai merged commit 5574f1f into alibaba:main May 26, 2021
@longbinlai longbinlai deleted the fix_predicate branch May 26, 2021 08:41
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.

[Gremlin] The predicate in where()/has() step returns wrong result
3 participants