We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Age is allowing invalid reuse of variables in CREATE clause.
How are you accessing AGE (Command line, driver, etc.)?
What is the command that caused the error?
SELECT * from cypher('my_graph_name', $$ CREATE p=(p) $$) as (a agtype);
This command should error out saying that p is already declared but it passes.
p is already declared
result -------- (0 rows)
SELECT * from cypher('my_graph_name', $$ CREATE p=(p) RETURN p $$) as (a agtype);
ERROR: column reference "p" is ambiguous LINE 1: ...ELECT * from cypher('new4', $$CREATE p=(p) RETURN p$$) as (r...
Expected behavior Should have failed with error saying p already declared
p already declared
Environment (please complete the following information):
Additional context Need to add proper checks for valid variable reuse.
The text was updated successfully, but these errors were encountered:
Fix issue apache#975 Invalid reuse of variables in CREATE clause
05db8d8
- Added checks for invalid use of variables in create clause. - Fixed error position of path and node variables. - Added regression tests.
Fix issue #975 Invalid reuse of variables in CREATE clause (#977)
e22c5ac
MuhammadTahaNaveed
Successfully merging a pull request may close this issue.
Describe the bug
Age is allowing invalid reuse of variables in CREATE clause.
How are you accessing AGE (Command line, driver, etc.)?
What is the command that caused the error?
This command should error out saying that
p is already declared
but it passes.Expected behavior
Should have failed with error saying
p already declared
Environment (please complete the following information):
Additional context
Need to add proper checks for valid variable reuse.
The text was updated successfully, but these errors were encountered: