From 4cf53385d185b1975435c27cf538fd88ecbc7bf8 Mon Sep 17 00:00:00 2001 From: Joel Bergstrand Date: Fri, 17 Jan 2025 10:20:30 +0100 Subject: [PATCH 1/2] Added 42N3A, 42N3B, 42N3C and updated 42N39 --- modules/ROOT/pages/errors/gql-errors.adoc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/errors/gql-errors.adoc b/modules/ROOT/pages/errors/gql-errors.adoc index 8d3ac699..11dec1d8 100644 --- a/modules/ROOT/pages/errors/gql-errors.adoc +++ b/modules/ROOT/pages/errors/gql-errors.adoc @@ -936,7 +936,19 @@ Status description:: error: syntax error or access rule violation - specified nu === 42N39 -Status description:: error: syntax error or access rule violation - incompatible return columns. All subqueries in a `UNION` clause must have the same return column names. +Status description:: error: syntax error or access rule violation - incompatible return column names. All `{ $context }` must have the same return column names. + +=== 42N3A + +Status description:: error: syntax error or access rule violation - incompatible subquery type. All `{ $context }` need to be either returning or unit.. + +=== 42N3B + +Status description:: error: syntax error or access rule violation - incompatible number of return columns. All `{ $context }` must return the same number of columns. + +=== 42N3C + +Status description:: error: syntax error or access rule violation - invalid use of 'CALL { ... }'. Not possible to enclose `{ $clause }` in 'CALL { ... }', please use 'CALL () { ... }'. === 42N40 From 094bc485e55120530ac864d68db54055b54388ba Mon Sep 17 00:00:00 2001 From: JoelBergstrand Date: Mon, 10 Feb 2025 13:34:32 +0100 Subject: [PATCH 2/2] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jens Pryce-Ã…klundh <112686610+JPryce-Aklundh@users.noreply.github.com> --- modules/ROOT/pages/errors/gql-errors.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/errors/gql-errors.adoc b/modules/ROOT/pages/errors/gql-errors.adoc index 11dec1d8..883ee11f 100644 --- a/modules/ROOT/pages/errors/gql-errors.adoc +++ b/modules/ROOT/pages/errors/gql-errors.adoc @@ -936,11 +936,11 @@ Status description:: error: syntax error or access rule violation - specified nu === 42N39 -Status description:: error: syntax error or access rule violation - incompatible return column names. All `{ $context }` must have the same return column names. +Status description:: error: syntax error or access rule violation - incompatible return column names. All `{ $context }` must have the same return column names. Use `AS` to ensure columns have the same name. === 42N3A -Status description:: error: syntax error or access rule violation - incompatible subquery type. All `{ $context }` need to be either returning or unit.. +Status description:: error: syntax error or access rule violation - incompatible conditional query. All `{ $context }` need to either return rows or update the graph. === 42N3B @@ -948,7 +948,7 @@ Status description:: error: syntax error or access rule violation - incompatible === 42N3C -Status description:: error: syntax error or access rule violation - invalid use of 'CALL { ... }'. Not possible to enclose `{ $clause }` in 'CALL { ... }', please use 'CALL () { ... }'. +Status description:: error: syntax error or access rule violation - invalid use of 'CALL { ... }'. Not possible to enclose `{ $clause }` in 'CALL { ... }'. Use 'CALL () { ... }' instead. === 42N40