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

not support gremlin multi-properties #9419

Closed
dptr opened this issue Oct 20, 2020 · 2 comments
Closed

not support gremlin multi-properties #9419

dptr opened this issue Oct 20, 2020 · 2 comments
Assignees
Labels

Comments

@dptr
Copy link

dptr commented Oct 20, 2020

OrientDB Version: 3.0.34

Java Version: 1.8.0_181

OS: win10 2004

Expected behavior

standard gremlin url: https://tinkerpop.apache.org/docs/current/reference/#vertex-properties

input this gremlin:
g.addV().property('name','hello').property('name','world')
g.V('#13:2').properties('name').count()

the property count is 1,but the gremlin standard is 2, name is overwritten by 'world'

also, it does not support such this: g.addV().property(set, 'key', 'aa', 'bb', 'cc', 'dd') . by the standard gremlin api, it will create a set property with 4 elements.

Actual behavior

count is 1

Steps to reproduce

@dptr
Copy link
Author

dptr commented Oct 20, 2020

i found this method just ignored the first argument cardinality, so the gremlin cardinality feature will not work.
org.apache.tinkerpop.gremlin.orientdb.OrientVertex#property(org.apache.tinkerpop.gremlin.structure.VertexProperty.Cardinality, java.lang.String, V, java.lang.Object...)

@lvca
Copy link
Member

lvca commented Dec 21, 2020

Multi values properties are not supported by OrientDB.

@lvca lvca closed this as completed Dec 21, 2020
@lvca lvca self-assigned this Dec 21, 2020
@lvca lvca added the question label Dec 21, 2020
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