Skip to content

Commit

Permalink
update compatibility (#1470)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy committed Feb 15, 2022
1 parent 9b61f66 commit af637f8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,3 @@ nebula> SHOW JOB 31;

Nebula Graph 创建一个任务去重建索引,因此可以根据返回的任务 ID,通过`SHOW JOB <job_id>`语句查看任务状态。详情请参见 [SHOW JOB](../18.operation-and-maintenance-statements/4.job-statements.md#show_job)

## 历史版本兼容性

在 Nebula Graph 2.0 中,不需要也不支持选项`OFFLINE`
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/3.data-types/9.type-conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

nGQL 1.0 使用 C 语言风格的类型转换(显示或隐式):`(type_name)expression`。例如`YIELD (int)(TRUE)`,结果为`1`。但是对于不熟悉 C 语言的用户来说,很容易出错。

nGQL 2.0 使用 openCypher 的方式进行类型强制转换。
nGQL 2.0 开始使用 openCypher 的方式进行类型强制转换。

## 类型强制转换函数

Expand Down
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/8.clauses-and-options/return.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

- 在 nGQL 1.x 中,`RETURN`适用于原生 nGQL,语法为`RETURN <var_ref> IF <var_ref> IS NOT NULL`

- nGQL 2.0 `RETURN`不适用于原生 nGQL。
- nGQL 2.0 开始`RETURN`不适用于原生 nGQL。

## Map 顺序说明

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ docker pull vesoft/nebula-console:{{console.branch}}

### 为什么更新 nebula-docker-compose 仓库(Nebula Graph 2.0.0-RC)后,无法通过端口`3699`连接 Nebula Graph?

Nebula Graph 2.0.0-RC 版本,默认端口从`3699`改为`9669`。请使用`9669`端口连接,或修改配置文件`docker-compose.yaml`内的端口。
Nebula Graph 2.0.0-RC 版本开始,默认端口从`3699`改为`9669`。请使用`9669`端口连接,或修改配置文件`docker-compose.yaml`内的端口。

### 为什么更新 nebula-docker-compose 仓库后,无法访问数据?(2021 年 01 月 04 日)

Expand All @@ -265,10 +265,12 @@ docker pull vesoft/nebula-console:{{console.branch}}

2021 年 01 月 27 日修改了数据格式,无法兼容之前的数据,请执行命令`docker-compose down -v`删除所有本地数据。

<!--
## 相关视频
用户也可以查看视频快速部署 Nebula Graph 2.0。
[使用 docker compose 部署 Nebula Graph 2.0 和 Web Studio](https://www.bilibili.com/video/BV1T54y1b7pa)(18 分 10 秒)
<iframe src="//player.bilibili.com/player.html?aid=844979052&bvid=BV1T54y1b7pa&cid=319036307&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="720px" height="480px"> </iframe>
-->
4 changes: 2 additions & 2 deletions docs-2.0/nebula-exchange/ex-ug-FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange \
--files application.conf \
--conf spark.driver.extraClassPath=./ \
--conf spark.executor.extraClassPath=./ \
nebula-exchange-2.0.0.jar \
nebula-exchange-3.0.0.jar \
-c application.conf
```

Expand Down Expand Up @@ -123,7 +123,7 @@ nebula-exchange-2.0.0.jar \
--conf spark.driver.extraJavaOptions=-Dfile.encoding=utf-8 \
--conf spark.executor.extraJavaOptions=-Dfile.encoding=utf-8 \
--class com.vesoft.nebula.exchange.Exchange \
<nebula-exchange-2.x.y.jar_path> -c <application.conf_path>
<nebula-exchange-3.x.y.jar_path> -c <application.conf_path>
```

如果是在 YARN 中,则用以下命令:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ SST 文件是一个内部包含了任意长度的有序键值对集合的文件
# Spark 相关配置
spark: {
app: {
name: Nebula Exchange 2.0
name: Nebula Exchange {{exchange.release}}
}
master:local
Expand Down

0 comments on commit af637f8

Please sign in to comment.