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

Confusing error message syntax error near .age==42 which was actually caused by non-support of filter push-down #4109

Closed
abby-cyber opened this issue Apr 1, 2022 · 1 comment
Labels
type/bug Type: something is unexpected

Comments

@abby-cyber
Copy link
Contributor

abby-cyber commented Apr 1, 2022

image
I used the community nebula(03.30nightly),after running MATCH (v:player:actor) where (v:actor.age==42) return v limit 5, the error SyntaxError: syntax error near .age==42'` was displayed.
After I confirmed with @Shylock-Hg, the statement cannot be executed successfully because the community version does not support filter pushdown.
If so, can we modify the error message instead of showing a syntax like error?

@abby-cyber abby-cyber added the type/bug Type: something is unexpected label Apr 1, 2022
@Shylock-Hg
Copy link
Contributor

I think you should write match (v:player:actor) where v.actor.age == 42 return v limit 5 to avoid syntax error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

2 participants