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 2022/11/23 09:31:10 UTC

[iotdb] branch master updated: Set namespace to generated go files (#8112)

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

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 85c488e708 Set namespace to generated go files (#8112)
85c488e708 is described below

commit 85c488e7081141f222fcf5b72aad632e7cefe1d1
Author: BaiJian <er...@hotmail.com>
AuthorDate: Wed Nov 23 17:31:05 2022 +0800

    Set namespace to generated go files (#8112)
---
 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