Github user mikedias commented on a diff in the pull request: https://github.com/apache/incubator-tinkerpop/pull/267#discussion_r56389186 --- Diff: gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/filter/HasTest.java --- @@ -354,6 +365,33 @@ public void g_V_hasXlocationX() { checkResults(Arrays.asList(convertToVertex(graph, "marko"), convertToVertex(graph, "stephen"), convertToVertex(graph, "daniel"), convertToVertex(graph, "matthias")), traversal); } + @Test + @LoadGraphWith(MODERN) + @IgnoreEngine(TraversalEngine.Type.COMPUTER) // only validate for OLTP + public void g_V_hasId_compilationEquality() { + final Traversal<Vertex, Vertex> traversala1 = get_g_VX1X(convertToVertexId("marko")); + final Traversal<Vertex, Vertex> traversala2 = get_g_V_hasIdX1X(convertToVertexId("marko")); + final Traversal<Vertex, Vertex> traversalb1 = get_g_VX1_2X(convertToVertexId("marko"), convertToVertexId("vadas")); + final Traversal<Vertex, Vertex> traversalb2 = get_g_V_hasIdX1_2X(convertToVertexId("marko"), convertToVertexId("vadas")); + printTraversalForm(traversala1); + printTraversalForm(traversala2); + printTraversalForm(traversalb1); + printTraversalForm(traversala2); --- End diff -- small typo: traversala2 -> traversalb2
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---