From 507e40ddb7485e8b01a15c9961a49856dc88301c Mon Sep 17 00:00:00 2001 From: kailixu Date: Wed, 10 Apr 2024 18:56:55 +0800 Subject: [PATCH] enh: primary key column should not be null --- source/libs/executor/src/dataInserter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/libs/executor/src/dataInserter.c b/source/libs/executor/src/dataInserter.c index 45d6f55278..39bbc1bc69 100644 --- a/source/libs/executor/src/dataInserter.c +++ b/source/libs/executor/src/dataInserter.c @@ -216,7 +216,6 @@ int32_t buildSubmitReqFromBlock(SDataInserterHandle* pInserter, SSubmitReq2** pp case TSDB_DATA_TYPE_VARCHAR: { // TSDB_DATA_TYPE_BINARY ASSERT(pColInfoData->info.type == pCol->type); if (colDataIsNull_s(pColInfoData, j)) { - SColVal cv = COL_VAL_NULL(pCol->colId, pCol->type); taosArrayPush(pVals, &cv); } else {