atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-2304) Relationship search API fails with use of TP3 (Janus graph)
Date Fri, 08 Dec 2017 07:07:00 GMT
Madhan Neethiraj created ATLAS-2304:
---------------------------------------

             Summary: Relationship search API fails with use of TP3 (Janus graph)
                 Key: ATLAS-2304
                 URL: https://issues.apache.org/jira/browse/ATLAS-2304
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 1.0.0
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


Relationship search REST API (api/atlas/v2/search/relationship) fails due to use of Gremlin
expressions that are not recognized in TinkerPop3.

TinkerPop2 query:
{code}
g.V('__guid', guid).both(relation).has('__state', T.in, states).order{it.a.getProperty(sortAttributeName)
<=> it.b.getProperty(sortAttributeName)} [startIdx..<endIdx].toList()
{code}

TinkerPop3 query:
{code}
g.V().has('__guid', guid).both(relation).has('__state', within(states)).order().by(sortAttributeName,
incr).range(startIdx, endIdx).toList()
{code}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message