Skip to content

Add GQL error codes 42N7A, 42N7B, 42N7C for DISJOINT BY#502

Open
henriknyman wants to merge 2 commits into
neo4j:devfrom
henriknyman:dev-disjoint-by-status-codes
Open

Add GQL error codes 42N7A, 42N7B, 42N7C for DISJOINT BY#502
henriknyman wants to merge 2 commits into
neo4j:devfrom
henriknyman:dev-disjoint-by-status-codes

Conversation

@henriknyman
Copy link
Copy Markdown

Document the three new GQLSTATUS error codes introduced for the CALL { ... } IN CONCURRENT TRANSACTIONS DISJOINT BY syntax (CIP-260):

  • 42N7A: DISJOINT BY requires concurrent transactions
  • 42N7B: non-deterministic DISJOINT BY expression
  • 42N7C: subquery in DISJOINT BY expression

Source of truth is the neo4j repo (GqlStatusInfoCodes). No new parameters, so the glossary is unchanged.

RUN-1077

Document the three new GQLSTATUS error codes introduced for the
CALL { ... } IN CONCURRENT TRANSACTIONS DISJOINT BY syntax (CIP-260):

- 42N7A: DISJOINT BY requires concurrent transactions
- 42N7B: non-deterministic DISJOINT BY expression
- 42N7C: subquery in DISJOINT BY expression

Source of truth is the neo4j repo (GqlStatusInfoCodes). No new
parameters, so the glossary is unchanged.

RUN-1077
@henriknyman henriknyman added the dev The default branch. label Jun 3, 2026
@neo4j-docops-agent
Copy link
Copy Markdown
Collaborator

This PR includes documentation updates
View the updated docs at https://neo4j-docs-status-codes-502.surge.sh

New pages:

Updated pages:

= 42N7A

== Status description
error: syntax error or access rule violation - disjoint by requires concurrent transactions. `DISJOINT BY` can only be used in `CALL { ... } IN CONCURRENT TRANSACTIONS`.
Copy link
Copy Markdown
Collaborator

@renetapopova renetapopova Jun 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that in the monorepo, you have used ' and not backticks. We can either use backticks in both places or just here (where it makes sense) with no quotes in the monorepo. Ideally, we would like to test all code descriptions against neo4j to make sure that all codes are documented and are correct. In that sense, we will use backticks only for docs' rendering purposes and skip them in the test.

Could you also add examples to these codes, similar to the other codes, for example, 42N81?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev The default branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants