diff --git a/test/sql/pattern-matching/basic_match.test b/test/sql/pattern-matching/basic_match.test index 5e47958a..01471e5d 100644 --- a/test/sql/pattern-matching/basic_match.test +++ b/test/sql/pattern-matching/basic_match.test @@ -74,7 +74,7 @@ FROM GRAPH_TABLE (pg MATCH (a:Person) COLUMNS (a.id) - ) study + ) study; ---- 0 1 @@ -89,7 +89,7 @@ FROM GRAPH_TABLE (pg (a:Person) WHERE a.id = 0 COLUMNS (a.id as a_id, a.name) - ) study + ) study; ---- 0 Daniel @@ -133,20 +133,20 @@ Peter Gabor Peter David # Disabled, see https://github.com/cwida/duckpgq-extension/issues/60 -#query II -#-SELECT study.a_name, study.b_name -#FROM GRAPH_TABLE (pg -# MATCH -# (a:Person)-[k:Knows]-(b:Person) -# WHERE a.name = 'Peter' -# COLUMNS (a.name as a_name, b.name as b_name) -# ) study -# ORDER BY a_name, b_name; -#---- -#Peter Daniel -#Peter David -#Peter Gabor -#Peter Tavneet +query II +-SELECT study.a_name, study.b_name +FROM GRAPH_TABLE (pg + MATCH + (a:Person)-[k:Knows]-(b:Person) + WHERE a.name = 'Peter' + COLUMNS (a.name as a_name, b.name as b_name) + ) study + ORDER BY a_name, b_name; +---- +Peter Daniel +Peter David +Peter Gabor +Peter Tavneet query II -SELECT study.a_name, study.b_name