You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/06/29 07:17:22 UTC

[iotdb-client-go] 01/01: Upgrade thrift to v0.14.1 to match latest iotdb

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch upgrade_thrift
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git

commit 2abd7f6184de3aca22f5bee105a39b755ad70300
Author: HTHou <hh...@outlook.com>
AuthorDate: Tue Jun 29 15:17:03 2021 +0800

    Upgrade thrift to v0.14.1 to match latest iotdb
---
 LICENSE-binary | 2 +-
 Makefile       | 6 +++---
 README.md      | 6 +++---
 README_ZH.md   | 6 +++---
 go.mod         | 2 +-
 go.sum         | 4 ++--
 6 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index 4c5ac5d..6620f9a 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -215,4 +215,4 @@ following license. See licenses/ for text of these licenses.
 
 Apache Software Foundation License 2.0
 --------------------------------------
-github.com/apache/thrift@v0.13.0
+github.com/apache/thrift@v0.14.1
diff --git a/Makefile b/Makefile
index 2808b27..9109054 100644
--- a/Makefile
+++ b/Makefile
@@ -24,12 +24,12 @@ generate:
 	fi
 
 	@if ! command -v thrift &> /dev/null; then \
-		echo "thrift could not be found, please install thrift 0.13.0"; \
+		echo "thrift could not be found, please install thrift 0.14.1"; \
 		exit 1; \
 	fi
 
-	@if [[ "`thrift --version|grep -o '0.13.[0-9]'`" == "" ]]; then \
-		echo "please install thrift 0.13.0"; \
+	@if [[ "`thrift --version|grep -o '0.14.[0-9]'`" == "" ]]; then \
+		echo "please install thrift 0.14.1"; \
 		exit 1; \
 	fi
 
diff --git a/README.md b/README.md
index 891386c..7fa62f9 100644
--- a/README.md
+++ b/README.md
@@ -72,10 +72,10 @@ go run session_example.go
 Without go mod
 
 ```sh
-# get thrift 0.13.0
+# get thrift 0.14.1
 go get github.com/apache/thrift
 cd $GOPATH/src/github.com/apache/thrift
-git checkout 0.13.0
+git checkout 0.14.1
 
 mkdir -p $GOPATH/src/iotdb-client-go-example/session_example
 cd $GOPATH/src/iotdb-client-go-example/session_example
@@ -96,4 +96,4 @@ go run session_example.go
 * golang >= 1.13
 * make >= 3.0
 * curl >= 7.1.1
-* thrift 0.13.x
+* thrift 0.14.1
diff --git a/README_ZH.md b/README_ZH.md
index c415b78..4f0dedb 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -54,10 +54,10 @@ go run session_example.go
 不使用go mod,采用GOPATH
 
 ```sh
-# get thrift 0.13.0
+# get thrift 0.14.1
 go get github.com/apache/thrift
 cd $GOPATH/src/github.com/apache/thrift
-git checkout 0.13.0
+git checkout 0.14.1
 
 mkdir -p $GOPATH/src/iotdb-client-go-example/session_example
 cd $GOPATH/src/iotdb-client-go-example/session_example
@@ -77,4 +77,4 @@ go run session_example.go
 * golang >= 1.13
 * make   >= 3.0
 * curl   >= 7.1.1
-* thrift 0.13.x
+* thrift 0.14.1
diff --git a/go.mod b/go.mod
index a87f66a..9f433aa 100644
--- a/go.mod
+++ b/go.mod
@@ -3,6 +3,6 @@ module github.com/apache/iotdb-client-go
 go 1.13
 
 require (
-	github.com/apache/thrift v0.13.0
+	github.com/apache/thrift v0.14.1
 	github.com/stretchr/testify v1.7.0
 )
diff --git a/go.sum b/go.sum
index 8639507..113282e 100644
--- a/go.sum
+++ b/go.sum
@@ -1,5 +1,5 @@
-github.com/apache/thrift v0.13.0 h1:5hryIiq9gtn+MiLVn0wP37kb/uTeRZgN08WoCsAhIhI=
-github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
+github.com/apache/thrift v0.14.1 h1:5hryIiq9gtn+MiLVn0wP37kb/uTeRZgN08WoCsAhIhI=
+github.com/apache/thrift v0.14.1/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
 github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=