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

CONTAINS(EMBEDDED LIST) problem #8654

Closed
ttamatt opened this issue Nov 12, 2018 · 1 comment
Closed

CONTAINS(EMBEDDED LIST) problem #8654

ttamatt opened this issue Nov 12, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@ttamatt
Copy link

ttamatt commented Nov 12, 2018

OrientDB Version: 3.0.8

Java Version: 1.8

OS: Centos 6.8

Create class test with property dict

Name Type Linked_Type
dict EMBEDDEDLIST EMBEDDEDMAP

Create a record of test

insert into test set dict=[{"name":"Jack"},{"age":"21"}]

##successful sql

select * from `test` where `dict` CONTAINS(`name` = "Jack")

Failed sql

select * from `test` where `dict` CONTAINS(`age` = "21")

Only the first map returned values, please figure out the reason.

Thanks,
Matt

@luigidellaquila luigidellaquila self-assigned this Nov 12, 2018
luigidellaquila added a commit that referenced this issue Nov 12, 2018
@luigidellaquila
Copy link
Member

Hi @ttamatt

I pushed a fix for this issue, it will be released with v 3.0.11

Thanks

Luigi

@luigidellaquila luigidellaquila added this to the 3.0.11 milestone Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants