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

add restrict for sst import #2

Merged
merged 1 commit into from
Oct 14, 2021
Merged
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions README-CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 欢迎使用 Nebula Exchange 2.0
[English](https://github.com/vesoft-inc/nebula-exchange/blob/master/nebula-exchange/README.md)
[English](https://github.com/vesoft-inc/nebula-exchange/blob/master/README.md)

Nebula Exchange 2.0(简称为 Exchange 2.0)是一款 Apache Spark™ 应用,用于在分布式环境中将集群中的数据批量迁移到 Nebula Graph 中,能支持多种不同格式的批式数据和流式数据的迁移。

Expand Down Expand Up @@ -50,9 +50,11 @@ Nebula Exchange 和 Nebula 的版本对应关系如下:

*4. Exchange 2.0 将导入失败的 INSERT 语句进行落盘,存于配置文件的 error/output 路径中。*

*5. 配置文件参考 [application.conf](https://github.com/vesoft-inc/nebula-exchange/tree/master/nebula-exchange/src/main/resources/application.conf )。*
*5. Exchange 2.5.0 支持SST导入,但不支持属性的 default 值。*

*6. Exchange 2.0 的导入命令:*
*6. 配置文件参考 [application.conf](https://github.com/vesoft-inc/nebula-exchange/tree/master/nebula-exchange/src/main/resources/application.conf )。*

*7. Exchange 2.0 的导入命令:*
```
$SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange --master local nebula-exchange-2.5.0.jar -c /path/to/application.conf
```
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Nebula Exchange 2.0
[中文版](https://github.com/vesoft-inc/nebula-exchange/blob/master/nebula-exchange/README-CN.md)
[中文版](https://github.com/vesoft-inc/nebula-exchange/blob/master/README-CN.md)

Nebula Exchange (Exchange for short) is an Apache Spark application. It is used to migrate cluster data in bulk from Spark to Nebula Graph in a distributed environment. It supports migration of batch data and streaming data in various formats.

Expand Down Expand Up @@ -66,5 +66,6 @@ There are the version correspondence between Nebula Exchange and Nebula:
2. Supports importing data of the Null, Date, DateTime, and Time types(DateTime uses UTC, not local time).
3. Supports importing data from other Hive sources besides Hive on Spark.
4. Supports recording and retrying the INSERT statement after failures during data import.
5. Supports SST import, but not support property's default value yet.

Refer to [application.conf](https://github.com/vesoft-inc/nebula-exchange/tree/master/nebula-exchange/src/main/resources/application.conf) as an example to edit the configuration file.