From 9b5d78d23dbb9eaf3a3135a57c2bdc69eb25bbbe Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Mon, 28 Nov 2022 16:32:06 +0800 Subject: [PATCH] fix:[TD-20613] add interface for write raw block with some fields --- source/client/src/clientRawBlockWrite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/client/src/clientRawBlockWrite.c b/source/client/src/clientRawBlockWrite.c index ea0b900e68..bcb97b7354 100644 --- a/source/client/src/clientRawBlockWrite.c +++ b/source/client/src/clientRawBlockWrite.c @@ -1294,6 +1294,7 @@ int taos_write_raw_block_with_fields(TAOS* taos, int rows, char* pData, const ch SRowBuilder rb = {0}; tdSRowInit(&rb, pTableMeta->sversion); + rb.rowType = TD_ROW_KV; tdSRowSetTpInfo(&rb, numOfCols, fLen); int32_t dataLen = 0;