fix: semantic check when last(*) and column are together
This commit is contained in:
parent
8af30d11c9
commit
6c5eb5c563
|
@ -811,6 +811,9 @@ static int metaUpdateTableTagVal(SMeta *pMeta, int64_t version, SVAlterTbReq *pA
|
|||
for (int32_t i = 0; i < pTagSchema->nCols; i++) {
|
||||
SSchema *pCol = &pTagSchema->pSchema[i];
|
||||
if (iCol == i) {
|
||||
if (pAlterTbReq->isNull) {
|
||||
continue;
|
||||
}
|
||||
STagVal val = {0};
|
||||
val.type = pCol->type;
|
||||
val.cid = pCol->colId;
|
||||
|
|
Loading…
Reference in New Issue