This is an automated email from the ASF dual-hosted git repository.
mtaha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age-website.git
The following commit(s) were added to refs/heads/master by this push:
new 3aab3b8e Fix join example in advanced.md (#334)
3aab3b8e is described below
commit 3aab3b8ecb8733dc6b9da0d616512b2d0b6b0f66
Author: Fredrik Vaeng Røtnes <[email protected]>
AuthorDate: Sun Sep 7 14:30:56 2025 +0200
Fix join example in advanced.md (#334)
- The AS-clause has a mismatch in number of returned rows
and their names (as used by the join condition).
---
docs/advanced/advanced.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/advanced/advanced.md b/docs/advanced/advanced.md
index 8a0ee0fc..19ad4fdd 100644
--- a/docs/advanced/advanced.md
+++ b/docs/advanced/advanced.md
@@ -289,7 +289,7 @@ SELECT graph_1.name, graph_1.age, graph_2.license_number
FROM cypher('graph_1', $$
MATCH (v:Person)
RETURN v.name, v.age
-$$) AS graph_1(col_1 agtype, col_2 agtype, col_3 agtype)
+$$) AS graph_1(name agtype, age agtype)
JOIN cypher('graph_2', $$
MATCH (v:Doctor)
RETURN v.name, v.license_number