nebula
nebula copied to clipboard
Inconsistent behavior of semantically equivalent patterns
Please check the FAQ documentation before raising an issue
Describe the bug (required)
If I execute the following statement, an error will appear.
$ MATCH (a)-[e]->() RETUN rank(e) LIMIT 10
$ MATCH (a)-[e]->() RETUN e LIMIT 10
The screenshot on the Studio is as follows:
And actually I can execute the following statement:
$ MATCH ()-[e]->() RETURN e LIMIT 10
The screenshot on the Studio is as follows:
Your Environments (required)
- OS:
uname -a
- Compiler:
g++ --version
orclang++ --version
- CPU:
lscpu
- Commit id (e.g.
a3ffc7d8
)
How To Reproduce(required)
Steps to reproduce the behavior:
- Step 1
- Step 2
- Step 3
Expected behavior
Additional context
match ()-[e]->() return e limit 10
I just want to write v
here, so can't the execution be successful?
I just want to write
v
here, so can't the execution be successful?
Yes, it's expected according to our design, maybe we could optimize it later.
That's ... strange.