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

Update 4.pipe.md #1113

Merged
merged 1 commit into from
Nov 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions docs-2.0/3.ngql-guide/5.operators/4.pipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ nebula> GO FROM "player100" OVER follow \
+-------------+
| follow._dst |
+-------------+
| "player101" |
| "player100" |
| "player102" |
| "player125" |
| "player100" |
+-------------+
...
```

用户可以使用`YIELD`显式声明需要返回的结果,如果不使用`YIELD`,默认返回目标点ID。
Expand All @@ -35,7 +37,7 @@ nebula> GO FROM "player100" OVER follow \

## 性能提示

Nebula Graph {{ nebula.release }} 中的管道对性能有影响,以`A | B`为例,体现在以下几个方面:
Nebula Graph 中的管道对性能有影响,以`A | B`为例,体现在以下几个方面:

1. 管道是同步操作。也即需要管道之前的子句`A`执行完毕后,数据才能整体进入管道子句。

Expand All @@ -51,4 +53,4 @@ Nebula Graph {{ nebula.release }} 中的管道对性能有影响,以`A | B`为

4. 每个 graphd 执行部分 B。

这样通常比单个graphd 执行完整地`A | B`要快很多。
这样通常比单个 graphd 执行完整地`A | B`要快很多。