Skip to content
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

Inner variable of pattern expression is not handled correctly #5289

Closed
czpmango opened this issue Jan 30, 2023 · 0 comments · Fixed by #5424
Closed

Inner variable of pattern expression is not handled correctly #5289

czpmango opened this issue Jan 30, 2023 · 0 comments · Fixed by #5424
Assignees
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Milestone

Comments

@czpmango
Copy link
Contributor

Describe the bug
As title.

Your Environments
nebula v3.3.0

How To Reproduce

(root@nebula) [nba]> MATCH p=(v:player)-[]-() where [ii in relationships(p) where (v)-[ii]->(:team)] return count(*) AS count
[ERROR (-1009)]: SemanticError: PatternExpression are not allowed to introduce new variables: `ii'.

Expected behavior
The expected count result is 152.

@czpmango czpmango added the type/bug Type: something is unexpected label Jan 30, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Jan 30, 2023
@Sophie-Xie Sophie-Xie added this to the v3.5.0 milestone Feb 27, 2023
@github-actions github-actions bot added the process/fixed Process of bug label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants