-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
-1004:SyntaxError: Where clause in optional match is not supported. near `kyquyen_congdong|e_dangkyquyen'. How to alternate OPTIONAL MATCH with WHERE in version 3.4 ? #5368
Comments
This issue is the same as #5362. |
@Sophie-Xie this use-case, I still want to return v1, v2 although v3 is null. Instead of use option match, what's other way? |
Maybe something like this. Not equivalent though. |
If I have multi MATCHES with return different results then can't use UNION
Data
if I graph
but I expect that
With version 3.3 I use Optional match @xtcyclist, @wey-gu |
In 3.3, we have discovered that the With this syntax banned, there is no guarantee that an OPTIONAL MATCH with WHERE could be rewritten into some other queries and be executed correctly. For your case:
I recommend you to split it into multiple queries and merge the results in your own app, where you could fill in NULL values when needed. |
I have noticed that the issue you created hasn’t been updated for nearly a month, so I have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime. Thanks a lot for your contribution anyway 😊 |
This' s my graph.
The text was updated successfully, but these errors were encountered: