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

ericpai pushed a commit to branch bugfix/go-thrift-pkg
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 5db39cb8a1a8e831d8f4b6a14fa87ca92b5ace05
Author: ericpai <[email protected]>
AuthorDate: Wed Nov 23 16:25:30 2022 +0800

    Set namespace to generated go files
---
 thrift-commons/src/main/thrift/common.thrift | 1 +
 thrift/src/main/thrift/client.thrift         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/thrift-commons/src/main/thrift/common.thrift 
b/thrift-commons/src/main/thrift/common.thrift
index b82f5c3804..fecceb80a8 100644
--- a/thrift-commons/src/main/thrift/common.thrift
+++ b/thrift-commons/src/main/thrift/common.thrift
@@ -19,6 +19,7 @@
 
 namespace java org.apache.iotdb.common.rpc.thrift
 namespace py iotdb.thrift.common
+namespace go common
 
 // Define a set of ip:port address
 struct TEndPoint {
diff --git a/thrift/src/main/thrift/client.thrift 
b/thrift/src/main/thrift/client.thrift
index 5e86d1957b..130e81aa86 100644
--- a/thrift/src/main/thrift/client.thrift
+++ b/thrift/src/main/thrift/client.thrift
@@ -20,6 +20,7 @@
 include "common.thrift"
 namespace java org.apache.iotdb.service.rpc.thrift
 namespace py iotdb.thrift.rpc
+namespace go rpc
 
 struct TSQueryDataSet{
   // ByteBuffer for time column

Reply via email to