So im reading through the apacheAGE regression tests and specifically this one https://github.com/apache/age/blob/master/regress/expected/age_global_graph.out and I’ve noticed that the ID returned for each vertex is the same.
As far as i know the databases use different IDs to track the object. Doesn’t having the same id for the different vertices cause conflict problems?
2
Answers
Same Id used in in different graph (Have a look at the ‘graph_name’ :
ag_graph_1
,ag_graph_2
etc). So it will not cause any conflict.The ID of three different Vertices in the regression tests of Apache Age may appear to same because the tests are designed to use fixed set of vertices and edges for reproducibility purpose.
In these Tests, the vertices are defined by their properties.