Skip to content

Commit

Permalink
update version info
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 committed Nov 24, 2021
1 parent 43d1158 commit aac22e1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Nebula Spark Connector 2.0 only supports Nebula Graph 2.x. If you are using Nebu
$ mvn clean package -Dmaven.test.skip=true -Dgpg.skip -Dmaven.javadoc.skip=true
```

After the packaging, you can see the newly generated nebula-spark-connector-2.5-SNAPSHOT.jar under the nebula-spark-connector/nebula-spark-connector/target/ directory.
After the packaging, you can see the newly generated nebula-spark-connector-2.6.1.jar under the nebula-spark-connector/nebula-spark-connector/target/ directory.

## New Features (Compared to Nebula Spark Connector 1.0)
* Supports more connection configurations, such as timeout, connectionRetry, and executionRetry.
Expand All @@ -24,7 +24,8 @@ Nebula Spark Connector 2.0 only supports Nebula Graph 2.x. If you are using Nebu
* Spark Reader Supports reading data from Nebula Graph to Graphx as VertexRD and EdgeRDD, it also supports String type vertexId.
* Nebula Spark Connector 2.0 uniformly uses SparkSQL's DataSourceV2 for data source expansion.
* Nebula Spark Connector 2.1.0 support UPDATE write mode to NebulaGraph, see [Update Vertex](https://docs.nebula-graph.io/2.0.1/3.ngql-guide/12.vertex-statements/2.update-vertex/) .
* Nebula Spark Connector 2.5.0 support DELETE write mode to NebulaGraph, see [Delete Vertex](https://docs.nebula-graph.io/master/3.ngql-guide/12.vertex-statements/4.delete-vertex/)
* Nebula Spark Connector 2.5.0 support DELETE write mode to NebulaGraph, see [Delete Vertex](https://docs.nebula-graph.io/master/3.ngql-guide/12.vertex-statements/4.delete-vertex/) .
* Nebula Spark Connector 2.6.1 support SSL for writer and reader.
## How to Use
Expand All @@ -33,7 +34,7 @@ Nebula Spark Connector 2.0 only supports Nebula Graph 2.x. If you are using Nebu
<dependency>
<groupId>com.vesoft</groupId>
<artifactId>nebula-spark-connector</artifactId>
<version>2.5-SNAPSHOT</version>
<version>2.6.1</version>
</dependency>
```
Expand Down Expand Up @@ -152,7 +153,7 @@ There are the version correspondence between Nebula Spark Connector and Nebula:
| 2.1.0 | 2.0.0, 2.0.1 |
| 2.5.0 | 2.5.0, 2.5.1 |
| 2.5.1 | 2.5.0, 2.5.1 |
| 2.6.0 | 2.6.0 |
| 2.6.0 | 2.6.0, 2.6.1 |
| 2.5-SNAPSHOT | nightly |
## Performance
Expand Down
5 changes: 3 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Nebula Spark Connector 2.0 仅支持 Nebula Graph 2.x。如果您正在使用 Ne
$ mvn clean package -Dmaven.test.skip=true -Dgpg.skip -Dmaven.javadoc.skip=true
```

编译打包完成后,可以在 nebula-spark-connector/nebula-spark-connector/target/ 目录下看到 nebula-spark-connector-2.5-SNAPSHOT.jar 文件。
编译打包完成后,可以在 nebula-spark-connector/nebula-spark-connector/target/ 目录下看到 nebula-spark-connector-2.6.1.jar 文件。

## 特性

Expand All @@ -25,14 +25,15 @@ Nebula Spark Connector 2.0 仅支持 Nebula Graph 2.x。如果您正在使用 Ne
* Nebula Spark Connector 2.0 统一了 SparkSQL 的扩展数据源,统一采用 DataSourceV2 进行 Nebula Graph 数据扩展
* Nebula Spark Connector 2.1.0 增加了 UPDATE 写入模式,相关说明参考[Update Vertex](https://docs.nebula-graph.com.cn/2.0.1/3.ngql-guide/12.vertex-statements/2.update-vertex/)
* Nebula Spark Connector 2.5.0 增加了 DELETE 写入模式,相关说明参考[Delete Vertex](https://docs.nebula-graph.com.cn/2.5.1/3.ngql-guide/12.vertex-statements/4.delete-vertex/)
* Nebula Spark Connector 2.6.1 支持 Writer 和 Reader 的 SSL 加密传输。

## 使用说明
如果你使用Maven管理项目,请在pom.xml文件中增加依赖:
```
<dependency>
<groupId>com.vesoft</groupId>
<artifactId>nebula-spark-connector</artifactId>
<version>2.5-SNAPSHOT</version>
<version>2.6.1</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>nebula-spark</artifactId>
<groupId>com.vesoft</groupId>
<version>2.5-SNAPSHOT</version>
<version>2.6.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -158,7 +158,7 @@
<dependency>
<groupId>com.vesoft</groupId>
<artifactId>nebula-spark-connector</artifactId>
<version>2.5-SNAPSHOT</version>
<version>2.6.1</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions nebula-spark-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>nebula-spark</artifactId>
<groupId>com.vesoft</groupId>
<version>2.5-SNAPSHOT</version>
<version>2.6.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand All @@ -14,7 +14,7 @@

<properties>
<spark.version>2.4.4</spark.version>
<nebula.version>2.0.0-SNAPSHOT</nebula.version>
<nebula.version>2.6.1</nebula.version>
<compiler.source.version>1.8</compiler.source.version>
<compiler.target.version>1.8</compiler.target.version>
<scalatest.version>3.2.3</scalatest.version>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.vesoft</groupId>
<artifactId>nebula-spark</artifactId>
<packaging>pom</packaging>
<version>2.5-SNAPSHOT</version>
<version>2.6.1</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit aac22e1

Please sign in to comment.