You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/08/22 08:36:02 UTC

[GitHub] [incubator-hugegraph] choeoe commented on issue #1946: [Bug] Incorrect result of gremlin using g.E()

choeoe commented on issue #1946:
URL: https://github.com/apache/incubator-hugegraph/issues/1946#issuecomment-1222032925

   [data.zip](https://github.com/apache/incubator-hugegraph/files/9391808/data.zip)
   I reduced the dataset to 16 vertices and 13 edges.
   Run 
   ```
   g.E('L623884396029542400>7>>L623884396029542400','L623884395425562624>7>>L623884396029542400','L623884395735941120>4>>L623884395119378432','L623884395224236032>7>>L623884395870158848','L623884395463311360>7>>L623884395870158848','L623884395870158848>7>>L623884395870158848','L623884395102601216>5>>L623884394750279680','L623884395278761984>5>>L623884394750279680','L623884395844993024>5>>L623884396000182272','L623884395278761984>5>>L623884395601723392','L623884395752718336>5>>L623884395601723392','L623884395278761984>5>>L623884396000182272','L623884395689803776>4>>L623884394850942976','L623884396029542400>7>>L623884396029542400','L623884395425562624>7>>L623884396029542400','L623884395735941120>4>>L623884395119378432','L623884395224236032>7>>L623884395870158848','L623884395463311360>7>>L623884395870158848','L623884395870158848>7>>L623884395870158848','L623884395102601216>5>>L623884394750279680','L623884395278761984>5>>L623884394750279680','L623884395844993024>5>>L623884396000182272','
 L623884395278761984>5>>L623884395601723392','L623884395752718336>5>>L623884395601723392','L623884395278761984>5>>L623884396000182272','L623884395689803776>4>>L623884394850942976').count()
   ```
   There are 26 ids in "E()" (twice the edge ids)
   The actual result is
   ```
   [13]
   ```
   The expected result is
   ```
   [26]
   ```
   Still when I add another edge id into "E()", like
   ```
   g.E('L623884396029542400>7>>L623884396029542400','L623884395425562624>7>>L623884396029542400','L623884395735941120>4>>L623884395119378432','L623884395224236032>7>>L623884395870158848','L623884395463311360>7>>L623884395870158848','L623884395870158848>7>>L623884395870158848','L623884395102601216>5>>L623884394750279680','L623884395278761984>5>>L623884394750279680','L623884395844993024>5>>L623884396000182272','L623884395278761984>5>>L623884395601723392','L623884395752718336>5>>L623884395601723392','L623884395278761984>5>>L623884396000182272','L623884395689803776>4>>L623884394850942976','L623884396029542400>7>>L623884396029542400','L623884395425562624>7>>L623884396029542400','L623884395735941120>4>>L623884395119378432','L623884395224236032>7>>L623884395870158848','L623884395463311360>7>>L623884395870158848','L623884395870158848>7>>L623884395870158848','L623884395102601216>5>>L623884394750279680','L623884395278761984>5>>L623884394750279680','L623884395844993024>5>>L623884396000182272','
 L623884395278761984>5>>L623884395601723392','L623884395752718336>5>>L623884395601723392','L623884395278761984>5>>L623884396000182272','L623884395689803776>4>>L623884394850942976','L623884395689803776>4>>L623884394850942976').count()
   ```
   The result turns
   ```
   [27]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org