Matthias Broecheler created TINKERPOP-1345:
----------------------------------------------

             Summary: Unrolling of collection for ids
                 Key: TINKERPOP-1345
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1345
             Project: TinkerPop
          Issue Type: Bug
            Reporter: Matthias Broecheler


In GraphStep, TinkerPop does this:
{code}
this.ids = (ids.length == 1 && ids[0] instanceof Collection) ? ((Collection) 
ids[0]).toArray(new Object[((Collection) ids[0]).size()]) : ids;
{code}
which means that collections are automatically unrolled when there is only one 
element. This breaks TP implementations that use collections to represent ids, 
for instance, because their id representation has multiple components (like a 
primary key in an RDMBS).  



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

Reply via email to