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 2023/09/22 08:44:05 UTC
[iotdb] 01/01: Try TBinaryProtocolAccelerated in python
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch try_TBinaryProtocolAccelerated
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 4345f74ea50a901b1f99603948fb3e1fe8ce12cd
Author: Haonan <hh...@outlook.com>
AuthorDate: Fri Sep 22 16:43:55 2023 +0800
Try TBinaryProtocolAccelerated in python
---
iotdb-client/client-py/iotdb/Session.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iotdb-client/client-py/iotdb/Session.py b/iotdb-client/client-py/iotdb/Session.py
index f41c9b9efbe..ef0e04c4970 100644
--- a/iotdb-client/client-py/iotdb/Session.py
+++ b/iotdb-client/client-py/iotdb/Session.py
@@ -178,7 +178,7 @@ class Session(object):
if self.__enable_rpc_compression:
client = Client(TCompactProtocol.TCompactProtocol(transport))
else:
- client = Client(TBinaryProtocol.TBinaryProtocol(transport))
+ client = Client(TBinaryProtocol.TBinaryProtocolAccelerated(transport))
open_req = TSOpenSessionReq(
client_protocol=self.protocol_version,