-
Notifications
You must be signed in to change notification settings - Fork 34
Adding 42I68, mismatched pattern, 53N33 function invocation failed #384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
59a841a
Adding 42I68, ambiguous pattern
JoelBergstrand 55e3af1
regenerate the index.adoc file
renetapopova 21e1afc
add the error to the content-nav and add a label
renetapopova 5637859
Updated 42I68
JoelBergstrand a8e437b
Fix the variables and update the index file
renetapopova 5152174
Added 53N33
JoelBergstrand f1b3cd4
add versions, update the content-nav and regenerate the index file
renetapopova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
:page-role: new-2025.10 | ||
= 42I68 | ||
|
||
== Status description | ||
error: syntax error or access rule violation - mismatched pattern. Pattern, `{ <<input>>1 }`, does not match input, `{ <<input>>2 }`. Verify that the pattern is valid for constructing `{ <<valueType>> }`. | ||
|
||
== Example scenario | ||
|
||
For example, when parsing a duration string value: | ||
|
||
[source,cypher] | ||
---- | ||
RETURN duration("5 hours 12 minutes 15 seconds", "h 'hours' m 'minutes'") AS d | ||
---- | ||
|
||
You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001]. | ||
This error has a cause detailed in xref:errors/gql-errors/42I68.adoc[42I68] and status description: | ||
|
||
|
||
[source] | ||
---- | ||
error: syntax error or access rule violation - mismatched pattern. Pattern, `"h 'hours' m 'minutes'"`, does not match input, `"5 hours 12 minutes 15 seconds"`. Verify that the pattern is valid for constructing `DURATION`. | ||
---- | ||
|
||
ifndef::backend-pdf[] | ||
[discrete.glossary] | ||
== Glossary | ||
|
||
include::partial$glossary.adoc[] | ||
endif::[] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
:page-role: new-2025.10 | ||
= 53N33 | ||
|
||
== Status description | ||
error: function exception - function invocation failed. Failed to invoke function `{ <<sig>> }` caused by: `{ <<msg>> }` | ||
|
||
== Example scenario | ||
|
||
For example, when parsing a duration string value: | ||
|
||
[source,cypher] | ||
---- | ||
RETURN duration({hours: 1}, "hh-mm-ss") as r | ||
---- | ||
|
||
You will receive an error with GQLSTATUS xref:errors/gql-errors/53N33.adoc[53N33] and status description: | ||
|
||
|
||
[source] | ||
---- | ||
error: function exception - function invocation failed. Failed to invoke function duration(input :: ANY, pattern = DEFAULT_TEMPORAL_ARGUMENT :: STRING) :: DURATION caused by: A pattern can only be used in conjunction with a `STRING` input. | ||
---- | ||
|
||
ifndef::backend-pdf[] | ||
[discrete.glossary] | ||
== Glossary | ||
|
||
include::partial$glossary.adoc[] | ||
endif::[] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.