[ 
https://issues.apache.org/jira/browse/TINKERPOP-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15606227#comment-15606227
 ] 

ASF GitHub Bot commented on TINKERPOP-919:
------------------------------------------

Github user okram commented on the issue:

    https://github.com/apache/tinkerpop/pull/463
  
    I was a confused for a bit on the method name. Seems (and this is just me) 
that a better name would be:
    
    ```
    Features.supportsDuplicateMultiPropertyValues()
    ```
    
    To me this means same key, duplicate values. The problem with "identical" 
is that there is no such thing as identical as properties can have 
meta-properties and be different. Thus, its a key/value identity, not a 
key/value/properties/id identity. 
    
    Dunno...whateves.


> Features needs to specify whether 2 vertex properties with same key/value is 
> allowed.
> -------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-919
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-919
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: structure, test-suite, tinkergraph
>    Affects Versions: 3.0.2-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: stephen mallette
>
> TinkerGraph does not support two vertex properties with the same key/value.
> {code}
> gremlin> graph = TinkerGraph.open()
> ==>tinkergraph[vertices:0 edges:0]
> gremlin> v = graph.addVertex()
> ==>v[0]
> gremlin> v.property("name","marko")
> ==>vp[name->marko]
> gremlin> v.property("name","marko")
> ==>vp[name->marko]
> gremlin> v.properties("name")
> ==>vp[name->marko]
> {code}
> I just noted we don't have this as a {{Feature}} and we should (w/ respective 
> test cases).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to