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] [Resolved] (ATLAS-2304) Relationship search API fails with use of TP3 (Janus graph)
Date Fri, 08 Dec 2017 07:46:01 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Madhan Neethiraj resolved ATLAS-2304.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0

Committed to master: http://git-wip-us.apache.org/repos/asf/atlas/commit/667abe4a

> 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
>             Fix For: 1.0.0
>
>         Attachments: ATLAS-2304.patch
>
>
> 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