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

When parser encounters some special property names, it will report an error #3778

Closed
cangfengzhs opened this issue Jan 21, 2022 · 1 comment · Fixed by #4136
Closed

When parser encounters some special property names, it will report an error #3778

cangfengzhs opened this issue Jan 21, 2022 · 1 comment · Fixed by #4136
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@cangfengzhs
Copy link
Contributor

https://discuss.nebula-graph.com.cn/t/topic/7162

(root@nebula) [test]> create EDGE edge_type1(e string, e1 string,p string, p1 string);
Execution succeeded (time spent 3092/3706 us)
                                                  
Fri, 21 Jan 2022 15:52:27 CST

(root@nebula) [test]> go from 1 over edge_type1 where edge_type1.e=="1" yield edge as e;
+---+
| e |
+---+
+---+
Empty set (time spent 5529/6241 us)

Fri, 21 Jan 2022 15:53:01 CST

(root@nebula) [test]> go from 1 over edge_type1 where edge_type1.e1=="1" yield edge as e;
[ERROR (-1004)]: SyntaxError: Out of range: near `.e1'

Fri, 21 Jan 2022 15:53:05 CST

(root@nebula) [test]> go from 1 over edge_type1 where edge_type1.p=="1" yield edge as e;
+---+
| e |
+---+
+---+
Empty set (time spent 5335/5965 us)

Fri, 21 Jan 2022 15:53:12 CST

(root@nebula) [test]> go from 1 over edge_type1 where edge_type1.p1=="1" yield edge as e;
+---+
| e |
+---+
+---+
Empty set (time spent 5281/6015 us)

@cangfengzhs cangfengzhs added the type/bug Type: something is unexpected label Jan 21, 2022
@Sophie-Xie Sophie-Xie added this to the v3.1.0 milestone Jan 24, 2022
@CPWstatic
Copy link
Contributor

It should be a matter of scientific notation.

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