Skip to content

Commit

Permalink
Merge pull request #2 from vesoft-inc/exchange
Browse files Browse the repository at this point in the history
add restrict for sst import
  • Loading branch information
cooper-lzy authored Oct 14, 2021
2 parents 184448d + 5715d9c commit e27241a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
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.

0 comments on commit e27241a

Please sign in to comment.