This is an automated email from the ASF dual-hosted git repository. jt2594838 pushed a commit to branch insert_numeric_row in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit fb255decbb54b5f703ae0a2c11ddc88ef38ab53e Author: Tian Jiang <[email protected]> AuthorDate: Tue Sep 15 16:29:59 2026 +0800 add client.thrift --- .../thrift-datanode/src/main/thrift/client.thrift | 30 +++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift b/iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift index 792a42dde51..c08959e5fe4 100644 --- a/iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift +++ b/iotdb-protocol/thrift-datanode/src/main/thrift/client.thrift @@ -633,6 +633,12 @@ service IClientRPCService { common.TSStatus insertRecord(1:TSInsertRecordReq req); + TSPrepareNumericRowResp prepareNumericRow(1:TSPrepareNumericRowReq req); + + common.TSStatus executePreparedNumericRow(1:TSExecutePreparedNumericRowReq req); + + common.TSStatus closePreparedNumericRow(1:i64 sessionId, 2:i64 preparedId); + common.TSStatus insertStringRecord(1:TSInsertStringRecordReq req); common.TSStatus insertTablet(1:TSInsertTabletReq req); @@ -707,4 +713,26 @@ service IClientRPCService { /** For other node's call */ common.TSStatus testConnectionEmptyRPC(); -} \ No newline at end of file +} + +struct TSPrepareNumericRowReq { + 1: required i64 sessionId + 2: required string tableName + 3: required list<string> measurements + 4: required list<i32> dataTypes + 5: required list<byte> columnCategories +} + +struct TSPrepareNumericRowResp { + 1: required common.TSStatus status + 2: optional i64 preparedId +} + +struct TSExecutePreparedNumericRowReq { + 1: required i64 sessionId + 2: required i64 preparedId + 3: required i64 timestamp + 4: required binary values + // Length-prefixed UTF-8 TAGs; length -1 represents a null TAG. + 5: required binary tagValues +}
