You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2020/09/17 15:22:00 UTC

[tinkerpop] branch master updated (a453ea4 -> f13e76a)

This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git.


    from a453ea4  Merge branch '3.4-dev'
     add 4c30746  TINKERPOP-2412 Added tests to trigger labelled path requirements
     add 72d5530  Merge branch 'TINKERPOP-2412' into 3.4-dev
     new f13e76a  Merge branch '3.4-dev'

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gremlin-test/features/map/Select.feature           | 47 +++++++++++++++++
 .../process/traversal/step/map/SelectTest.java     | 59 ++++++++++++++++++++++
 2 files changed, 106 insertions(+)


[tinkerpop] 01/01: Merge branch '3.4-dev'

Posted by sp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit f13e76ab1af8465ba6a718fdd359a8602e1f7dce
Merge: a453ea4 72d5530
Author: Stephen Mallette <st...@amazon.com>
AuthorDate: Thu Sep 17 11:21:34 2020 -0400

    Merge branch '3.4-dev'

 gremlin-test/features/map/Select.feature           | 47 +++++++++++++++++
 .../process/traversal/step/map/SelectTest.java     | 59 ++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --cc gremlin-test/features/map/Select.feature
index 8c759d6,4a6d5e7..de5d41b
--- a/gremlin-test/features/map/Select.feature
+++ b/gremlin-test/features/map/Select.feature
@@@ -745,26 -744,50 +745,73 @@@ Feature: Step - select(
        | s[c]   |
      And the graph should return 6 for count of "g.V().as(\"a\", \"b\").out().as(\"c\").path().select(Column.keys)"
  
+   Scenario: g_V_hasXperson_name_markoX_barrier_asXaX_outXknows_selectXaX
+     Given the modern graph
+     And the traversal of
+       """
+       g.V().has("person","name","marko").barrier().as("a").out("knows").select("a")
+       """
+     When iterated to list
+     Then the result should be unordered
+       | result |
+       | v[marko] |
+       | v[marko] |
+ 
+   Scenario: g_V_hasXperson_name_markoX_elementMapXnameX_asXaX_unionXidentity_identityX_selectXaX_selectXnameX
+     Given the modern graph
+     And the traversal of
+       """
+       g.V().has("person","name","marko").elementMap("name").as("a").union(__.identity(),__.identity()).select("a").select("name")
+       """
+     When iterated to list
+     Then the result should be unordered
+       | result |
+       | marko |
+       | marko |
+ 
+   Scenario: g_V_hasXperson_name_markoX_count_asXaX_unionXidentity_identityX_selectXaX
+     Given the modern graph
+     And the traversal of
+       """
+       g.V().has("person","name","marko").count().as("a").union(__.identity(),__.identity()).select("a")
+       """
+     When iterated to list
+     Then the result should be unordered
+       | result |
+       | d[1].l |
+       | d[1].l |
+ 
+   Scenario: g_V_hasXperson_name_markoX_path_asXaX_unionXidentity_identityX_selectXaX_unfold
+     Given the modern graph
+     And the traversal of
+       """
+       g.V().has("person","name","marko").path().as("a").union(__.identity(),__.identity()).select("a").unfold()
+       """
+     When iterated to list
+     Then the result should be unordered
+       | result |
+       | v[marko] |
 -      | v[marko] |
++      | v[marko] |
 +  Scenario: g_EX11X_propertiesXweightX_asXaX_selectXaX_byXkeyX
 +    Given the modern graph
 +    And using the parameter e11Id defined as "e[josh-created->lop].id"
 +    And the traversal of
 +      """
 +      g.E(e11Id).properties("weight").as("a").select("a").by(T.key)
 +      """
 +    When iterated to list
 +    Then the result should be unordered
 +      | result |
 +      | weight |
 +
 +  Scenario: g_EX11X_propertiesXweightX_asXaX_selectXaX_byXvalueX
 +    Given the modern graph
 +    And using the parameter e11Id defined as "e[josh-created->lop].id"
 +    And the traversal of
 +      """
 +      g.E(e11Id).properties("weight").as("a").select("a").by(T.value)
 +      """
 +    When iterated to list
 +    Then the result should be unordered
 +      | result |
 +      | d[0.4].d |