Should there be a proper error message when using RETURN * without any variable in scope ?
Open
override-stale
question
- Dominant language
- C
- Stars
- 4.8k
- Forks
- 523
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 9
Description
For the question above, neo4j returns the following error
```
MATCH () RETURN *
```
```
ERROR: RETURN * is not allowed when there are no variables in scope
```
But age generates
```
ERROR: return row and column definition list do not match
```
Should we also generate a proper error message in transformation stage catching this invalid use ?
Contributor guide
Assessment
This issue has not been assessed yet.