diff --git a/src/client/src/tscLocalMerge.c b/src/client/src/tscLocalMerge.c index 9d4c7c837741ef47030fceacb7571c7bc909c0ca..a99918975e11a1f51bc93eebf6053cfd8dca05c3 100644 --- a/src/client/src/tscLocalMerge.c +++ b/src/client/src/tscLocalMerge.c @@ -730,7 +730,7 @@ int32_t tscLocalReducerEnvCreate(SSqlObj *pSql, tExtMemBuffer ***pMemBuffer, tOr p1 = tGetTableNameColumnSchema(); } else if (TSDB_COL_IS_UD_COL(pExpr->colInfo.flag)) { p1.bytes = pExpr->resBytes; - p1.type = pExpr->resType; + p1.type = (uint8_t) pExpr->resType; tstrncpy(p1.name, pExpr->aliasName, tListLen(p1.name)); } else { p1 = *tscGetTableColumnSchema(pTableMetaInfo->pTableMeta, pExpr->colInfo.colIndex);