From b81629e0787799dee8d1b4012d7b0509fb44a0ed Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Tue, 8 Dec 2020 23:10:50 +0800 Subject: [PATCH] [TD-225] refactor codes. --- src/client/src/tscLocalMerge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscLocalMerge.c b/src/client/src/tscLocalMerge.c index 9d4c7c8377..a99918975e 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);