Yuan Tian created IOTDB-3936:
--------------------------------
Summary: Add an interface in IClientRPCService to directly use
TsBlock instead of TSQueryDataSet
Key: IOTDB-3936
URL: https://issues.apache.org/jira/browse/IOTDB-3936
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Yuan Tian
Currently, we convert TsBlock to TSQueryDataSet to be compatible with previous
executeStatement() interface in IClientRPCService and in this way we won't need
to change all other language clients like go, C/C++ and python etc.
However, we can add a new interface like executeStatementV2 to directly return
serialized form of TsBlock to client and then do the deserialization things in
the client end. In this way, we can improve the query performance if the result
TsBlock is received from remote node. Because in such case, what we received is
already serialized TsBlock(in ByteBuffer form), we can directly return that to
client which will saving one deserializing TsBlock and one serialzie to
TSQueryDataSet.
We alse need to change the java client: jdbc and session to adapt to read from
TsBlock.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)