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

Inaccurate error message #2708

Closed
amber-moe opened this issue Dec 16, 2020 · 4 comments · Fixed by #4304
Closed

Inaccurate error message #2708

amber-moe opened this issue Dec 16, 2020 · 4 comments · Fixed by #4304
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@amber-moe
Copy link
Contributor

(w@nebula) [doc]> YIELD -1 AND TRUE;
[ERROR (-12)]: SemanticError: `(-(1) AND true)' is not a valid expression, can not apply `&&' to `INT' and `BOOL'.

&& is not supported. Shall we use AND here?

@HarrisChu
Copy link
Contributor

v2.0.1

(root@nebula) [nba]> YIELD -1 AND TRUE;
[ERROR (-12)]: SemanticError: `(-(1) AND true)' is not a valid expression, can not apply `&&' to `INT' and `BOOL'.

information error:

  1. hybrid ` and '
  2. use logical AND, but display &&

@CPWstatic CPWstatic transferred this issue from vesoft-inc/nebula-graph Aug 28, 2021
@CPWstatic CPWstatic added type/bug Type: something is unexpected priority/low-pri Priority: low labels Aug 28, 2021
@Sophie-Xie
Copy link
Contributor

Sophie-Xie commented Aug 31, 2021

@CPWstatic pls create a feature then close this issue.

@Sophie-Xie Sophie-Xie added this to the v3.0.0 milestone Aug 31, 2021
@Sophie-Xie
Copy link
Contributor

Sophie-Xie commented Dec 9, 2021

link to #3092 Unified error codes

@Sophie-Xie Sophie-Xie assigned yixinglu and unassigned CPWstatic Dec 9, 2021
@Sophie-Xie Sophie-Xie modified the milestones: v3.0.0, v3.1.0 Dec 17, 2021
@Sophie-Xie Sophie-Xie modified the milestones: v3.1.0, v3.2.0, v4.0.0 Jan 10, 2022
@Sophie-Xie Sophie-Xie modified the milestones: v5.0.0, v3.2.0 Apr 28, 2022
@Sophie-Xie Sophie-Xie assigned CPWstatic and unassigned yixinglu Apr 28, 2022
@Sophie-Xie
Copy link
Contributor

Error codes and error messages will be optimized in future. Let’s take a look at this issue first.

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

Successfully merging a pull request may close this issue.

5 participants