2

I'm working with Gremlin and AWS Neptune graph database.

I was wondering if any query, when it is applied in different times (but the query stays exactly the same), could potentially result in different traversal order and therefore maybe return the same items in a different order. I know that Gremlin doesn't guarantee any such order but I couldn't find anything regarding the matter on AWS documentation. I know that to guarantee some order I could always use order() but it is obviously less efficient.

Thanks.

Kelvin Lawrence
  • 14,674
  • 2
  • 16
  • 38
Danya
  • 21
  • 2

1 Answers1

2

As with most other databases the order of data returned by Amazon Neptune is not guaranteed unless you explicitly order the results.

Kelvin Lawrence
  • 14,674
  • 2
  • 16
  • 38
bechbd
  • 6,206
  • 3
  • 28
  • 47