在管道下,go 1 TO 2 steps 显示了行数,但是行里边的内容没有; 使用 go 2 steps 可以输出内容。
go from "user11011" over member_department yield member_department._dst as id | go 1 TO 2 STEPS FROM $-.id OVER parent_department yield parent_department._dst
+------------------------+
| parent_department._dst |
+------------------------+
| |
+------------------------+
| |
+------------------------+
Got 2 rows (time spent 21586/57300 us)
Thu, 15 Apr 2021 17:44:22 CST
(root@nebula) [dian]> go from "user11011" over member_department yield member_department._dst as id | go 2 STEPS FROM $-.id OVER parent_department yield parent_department._dst
+------------------------+
| parent_department._dst |
+------------------------+
| "department1864" |
+------------------------+
Got 1 rows (time spent 18550/75517 us)
go 1 STEPS FROM “department1864” OVER parent_department where parent_department._dst != ‘NULL’
±-----------------------+
| parent_department._dst |
±-----------------------+
| “department707” |
±-----------------------+
Got 1 rows (time spent 7142/494378 us)
Fri, 16 Apr 2021 10:23:38 CST
go 2 STEPS FROM “department1864” OVER parent_department where parent_department._dst != ‘NULL’
±-----------------------+
| parent_department._dst |
±-----------------------+
| “department1” |
±-----------------------+
go from “user11011” over member_department yield member_department._dst as id | go 1 TO 5 STEPS FROM $-.id OVER parent_department where parent_department._dst != ‘NULL’ yield parent_department._dst
±-----------------------+
| parent_department._dst |
±-----------------------+
| |
±-----------------------+
| |
±-----------------------+
| |
±-----------------------+
| |
±-----------------------+
| |
±-----------------------+