You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to execute a MATCH query with negative pattern in Studio I get a parser error. I dont know if it's ok it does not work because NOT is an experimental feature...
Expected behavior
Executing the query
Actual behavior
Not executing the query due to parser error.
Steps to reproduce
I create a simple example to reproduce the case:
create vertex Node set name='node1'
create vertex Node set name='node2'
create vertex Node set name='node3'
create edge Relation from #20:0 to #21:0 -- change your @Rid
create edge Relation from #21:0 to #22:0 -- change your @Rid
In Studio I execute:
match {class: Node, as:node1}-Relation->{as:node2}-Relation->{as:node3},
not {as:node1}-Relation->{as:node2}
return $matches
Parser error:
Error parsing query: match {class: Node, as:node1}-Relation->{as:node2}-Relation->{as:node3}, not {as:node1}-Relation->{as:node2} return $matches ^ Encountered " "not "" at line 1, column 74. Was expecting: "{" ... DB name="testingDB" Error Code="1"
The text was updated successfully, but these errors were encountered:
OrientDB Version: 3.0.3
Java Version: 1.8
OS: Docker version
When I try to execute a MATCH query with negative pattern in Studio I get a parser error. I dont know if it's ok it does not work because NOT is an experimental feature...
Expected behavior
Executing the query
Actual behavior
Not executing the query due to parser error.
Steps to reproduce
I create a simple example to reproduce the case:
create vertex Node set name='node1'
create vertex Node set name='node2'
create vertex Node set name='node3'
create edge Relation from #20:0 to #21:0 -- change your @Rid
create edge Relation from #21:0 to #22:0 -- change your @Rid
In Studio I execute:
match {class: Node, as:node1}-Relation->{as:node2}-Relation->{as:node3},
not {as:node1}-Relation->{as:node2}
return $matches
Parser error:
Error parsing query: match {class: Node, as:node1}-Relation->{as:node2}-Relation->{as:node3}, not {as:node1}-Relation->{as:node2} return $matches ^ Encountered " "not "" at line 1, column 74. Was expecting: "{" ... DB name="testingDB" Error Code="1"
The text was updated successfully, but these errors were encountered: