fix: set none if cols not full

This commit is contained in:
Cary Xu 2022-08-09 20:32:02 +08:00
parent 7b70f54a6e
commit 3e626d56d1
1 changed files with 3 additions and 0 deletions

View File

@ -213,6 +213,9 @@ int32_t dataBlockToSubmit(SDataInserterHandle* pInserter, SSubmitReq** pReq) {
tdAppendColValToRow(&rb, pColumn->colId, pColumn->type, TD_VTYPE_NORM, data, true, pColumn->offset, k); tdAppendColValToRow(&rb, pColumn->colId, pColumn->type, TD_VTYPE_NORM, data, true, pColumn->offset, k);
} }
} }
if(!fullCol) {
rb.hasNone = true;
}
tdSRowEnd(&rb); tdSRowEnd(&rb);
if (ignoreRow) { if (ignoreRow) {