-
Notifications
You must be signed in to change notification settings - Fork 24
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
Prettifier does not support UNION clause #5
Comments
I have the same issue... MATCH (p:Person) WHERE p.paxId < 175 scala.MatchError: Query(None,UnionDistinct(SingleQuery(List(Match(false,Pattern(List(EveryPath(NodePattern(Some(Variable(p)),Stream(LabelName(Person), ?),None,None)))),List(),Some(Where(LessThan(Property(Variable(p),PropertyKeyName(paxId)),SignedDecimalIntegerLiteral(175))))))),SingleQuery(List(Match(false,Pattern(List(EveryPath(NodePattern(Some(Variable(p)),List(LabelName(Person)),None,None)))),List(),Some(Where(GreaterThanOrEqual(Property(Variable(p),PropertyKeyName(paxId)),SignedDecimalIntegerLiteral(175))))), Return(false,ReturnItems(false,List(UnaliasedReturnItem(Property(Variable(p),PropertyKeyName(controlNum)),p.controlNum))),None,None,None,Set()))))) (of class org.opencypher.v9_0.ast.Query)
My workaround is ugly, so any help is appreciated. |
This should have been fixed. (Actually a long time ago, apologies for only replying now.) |
Any query with union clause can't be prettified
Possible solutions
The text was updated successfully, but these errors were encountered: