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:04 UTC
[iotdb] branch try_TBinaryProtocolAccelerated created (now 4345f74ea50)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a change to branch try_TBinaryProtocolAccelerated
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at 4345f74ea50 Try TBinaryProtocolAccelerated in python
This branch includes the following new commits:
new 4345f74ea50 Try TBinaryProtocolAccelerated in python
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: Try TBinaryProtocolAccelerated in python
Posted by ha...@apache.org.
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,