nebula2.0 / 1.0
使用java client 插入如下数据:
String stmt = "insert vertex person(name) values 500: (\"a\ta\")";
session.execute(stmt);
System.out.println(stmt);
stmt = "insert vertex person(name) values 501: (\"a a\")";
session.execute(stmt);
System.out.println(stmt);
stmt = "insert vertex person(name) values 502: (\"a\\ta\")";
session.execute(stmt);
System.out.println(stmt);
stmt = "insert vertex person(name) values 503: (\"a\\\ta\")";
session.execute(stmt);
System.out.println(stmt);
最后的显示:
(root@nebula) [t1]> fetch prop on * 500
+-------------------------------+
| vertices_ |
+-------------------------------+
| (500 :person{name: "a a"}) |
+-------------------------------+
Got 1 rows (time spent 1216/1588 us)
Fri, 06 Aug 2021 16:28:19 CST
(root@nebula) [t1]> fetch prop on * 501
+----------------------------+
| vertices_ |
+----------------------------+
| (501 :person{name: "a a"}) |
+----------------------------+
Got 1 rows (time spent 1694/2061 us)
Fri, 06 Aug 2021 16:28:22 CST
(root@nebula) [t1]> fetch prop on * 502
+-------------------------------+
| vertices_ |
+-------------------------------+
| (502 :person{name: "a a"}) |
+-------------------------------+
Got 1 rows (time spent 1246/1661 us)
Fri, 06 Aug 2021 16:28:24 CST
(root@nebula) [t1]> fetch prop on * 503
+-------------------------------+
| vertices_ |
+-------------------------------+
| (503 :person{name: "a a"}) |
+-------------------------------+
Got 1 rows (time spent 1219/1587 us)
Fri, 06 Aug 2021 16:28:26 CST
全部是空格,其中500,502, 503,完全一样的value值, 存在歧义。 貌似里面加了多重转义,可以理解为bug,