-
Notifications
You must be signed in to change notification settings - Fork 229
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
Optional match #1043
Merged
Merged
Optional match #1043
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
a5b99a8
Enable TCK tests
jeffreylovitz 5325ad1
Introduce Optional and Apply ops
jeffreylovitz ec9371a
Modify mock AST logic
jeffreylovitz f95e5ac
Emit error on queries beginning with OPTIONAL MATCH
jeffreylovitz 6330061
Return null on property accesses of null graph entity
jeffreylovitz 85e7368
Disallow OPTIONAL MATCH...MATCH queries
jeffreylovitz d2d7a65
Fix OPTIONAL filter placement
jeffreylovitz 67ae023
Enable TCK tests
jeffreylovitz 96af9a1
NULL handling for path functions
jeffreylovitz cf789b9
NULL handling for GraphEntity and list functions
jeffreylovitz d8e58a2
WIP improve mock AST logic
jeffreylovitz 7906473
Add flow tests
jeffreylovitz a6332fe
Improve AST mock logic
jeffreylovitz b3843c1
Error handling for SET and CREATE on null entities
jeffreylovitz 8117f07
Record_Get refactor
jeffreylovitz 59083af
Test null handling
jeffreylovitz 24cc90a
Minor cleanup
jeffreylovitz 98f0574
Add documentation
jeffreylovitz 0cbd1a6
Simplify toPath null handling
jeffreylovitz c312e9a
Improve comments
jeffreylovitz de7a126
Allow OPTIONAL MATCH as first clause
jeffreylovitz 7defbfd
Simplify null-checking logic in create ops
jeffreylovitz 61f4965
Use branch of Python client for testing
jeffreylovitz a55e632
PR fixes
jeffreylovitz e9d78ad
PR fixes
jeffreylovitz b7a9884
Remove Record_GetScalar interface
jeffreylovitz c2c3145
PR fixes
jeffreylovitz fc0ed1a
PR fixes
jeffreylovitz 2f98977
Add demo query for OPTIONAL MATCH
jeffreylovitz e240158
Merge branch 'master' into optional-match
swilly22 a993784
Use standard Python client for automation
jeffreylovitz 38ac976
Emit all columns as SIValues in compact formatter
jeffreylovitz 732be69
Improve flow test for null entities in first result
jeffreylovitz 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 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 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 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 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 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 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So if there are multiple connection between a person
p
and a number of companies say 10and out of those 10 only 4 satisfy the criteria how many null will be returned?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0 nulls - if
p
has at least one valid connection, no nulls will be produced. If there is another personp
with no valid connections, it will return thatp
once with nullw
andc
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍