> On Dec. 8, 2017, 9:39 a.m., Graham Wallis wrote:
> > Just something to check... in TP3 the range() step is non-inclusive at the 
> > lower bound, i.e.
> > 
> > gremlin> g.V().range(0,3)
> > ==>v[1]
> > ==>v[2]
> > ==>v[3]
> > gremlin> g.V().range(1,3)
> > ==>v[2]
> > ==>v[3]
> > 
> > In the TP2 query, it looked like we were wanting to include the lower bound 
> > (startIdx) and exclude the upper (endIdx).
> > Are we sure we're getting the same set of vertices in both cases?

Graham - TinkerPop3 documentation says the lower-bound is inclusive while the 
upper bound is exclusive; this is consistent with our usage. 
http://tinkerpop.apache.org/docs/3.3.0/reference/#range-step

The number seen in "v[1]" is the vertex ID; and not the array index.


- Madhan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64442/#review193232
-----------------------------------------------------------


On Dec. 8, 2017, 7:13 a.m., Madhan Neethiraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64442/
> -----------------------------------------------------------
> 
> (Updated Dec. 8, 2017, 7:13 a.m.)
> 
> 
> Review request for atlas.
> 
> 
> Bugs: ATLAS-2304
>     https://issues.apache.org/jira/browse/ATLAS-2304
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> Updated AtlasGremlin3QueryProvider to provide TinkerPop3 specific expressions 
> used in relationship queries
> 
> 
> Diffs
> -----
> 
>   
> repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
>  85b16b44 
>   
> repository/src/main/java/org/apache/atlas/util/AtlasGremlin3QueryProvider.java
>  a55f2611 
> 
> 
> Diff: https://reviews.apache.org/r/64442/diff/1/
> 
> 
> Testing
> -------
> 
> Verified that relationship API works correctly, by viewing table list in 
> hive_db entity details page
> 
> 
> Thanks,
> 
> Madhan Neethiraj
> 
>

Reply via email to