-
Notifications
You must be signed in to change notification settings - Fork 467
Fix property constraints against resolved variables (#701) #747
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
Conversation
Fixed an issue where an already resolved variable, when used for a property constraint, errored out. See apache#724 for more details. This also fixed a regression test that was erroring out, but was overlooked. Adjusted and added additional regression tests. Co-authored-by: Dehowe Feng <dehowefeng@gmail.com>
|
John and I worked closely on this issue to resolve the limitations of the match clause in reflexive pattern matching. If anyone wants to take a look and review what was done, it would be much appreciated |
|
Hi @dehowef @jrgemignani, I was wondering why the query mentioned in issue still errors out. I tried this query in context of regression tests |
|
@MuhammadTahaNaveed Actually, that's a good point and a bit of an oversight on my part. My PR only addresses the clause to clause previously resolved variables, not within the same clause. For example - MATCH (u) MATCH (u {name: "Jim"}) MATCH (u {age: 35}) RETURN u I will try to add the other in tomorrow and update this PR. |
|
@MuhammadTahaNaveed The issues with MATCH occur in several sections of the code-- we have chosen to address them incrementally for maximum transparency and visibility for the project. I feel like this method has several advantages, one being that each commit will be itemized so that in the event that something is updated, we can go back to the commit where a certain change was implemented to easily view and address it. Thanks! |
|
@dehowef @MuhammadTahaNaveed I'm reviewing my patch to make sure it covers all the cases adequately. |
|
@dehowef @MuhammadTahaNaveed I have updated the PR to point to the correct issue this PR resolves. If you can verify that it works against that issue? Sorry, for the confusion. |
…CH clauses(#701) (#747) Fixed an issue where an already resolved variable, when used for a property constraint in a second MATCH clause, errored out. See #701 and #724 for more details. This is part of a series of PRs done to refactor MATCH clause behavior. This also fixed a regression test that was erroring out, but was overlooked. Adjusted and added additional regression tests. Co-authored-by: Dehowe Feng <dehowefeng@gmail.com>
…CH clauses(#701) (#747) Fixed an issue where an already resolved variable, when used for a property constraint in a second MATCH clause, errored out. See #701 and #724 for more details. This is part of a series of PRs done to refactor MATCH clause behavior. This also fixed a regression test that was erroring out, but was overlooked. Adjusted and added additional regression tests. Co-authored-by: Dehowe Feng <dehowefeng@gmail.com>
Fixed an issue where an already resolved variable, when used for
a property constraint, errored out. See #701 for more details.
This also fixed a regression test that was erroring out, but was
overlooked.
Adjusted and added additional regression tests.
Co-authored-by: Dehowe Feng dehowefeng@gmail.com