diff --git a/src/client/src/tscSubquery.c b/src/client/src/tscSubquery.c index fe3f1b4c40f752ffc3c255e918c246fdc6d52f07..9360ed05898aab1ed7da54f03b1c15617b8b9c76 100644 --- a/src/client/src/tscSubquery.c +++ b/src/client/src/tscSubquery.c @@ -1213,7 +1213,7 @@ static int32_t getIntersectionOfTableTuple(SQueryInfo* pQueryInfo, SSqlObj* pPar for (int32_t i = 0; i < joinNum; ++i) { // reorganize the tid-tag value according to both the vgroup id and tag values // sort according to the tag value - size_t num = taosArrayGetSize(ctxlist[i].res); + int32_t num = (int32_t) taosArrayGetSize(ctxlist[i].res); int32_t ret = tidTagsMergeSort(ctxlist[i].res, 0, num - 1, size); if (ret != TSDB_CODE_SUCCESS) { @@ -1222,7 +1222,7 @@ static int32_t getIntersectionOfTableTuple(SQueryInfo* pQueryInfo, SSqlObj* pPar taosArrayPush(resList, &ctxlist[i].res); - tscDebug("0x%"PRIx64" tags match complete, result num: %"PRIzu, pParentSql->self, num); + tscDebug("0x%"PRIx64" tags match complete, result num: %d", pParentSql->self, num); } return TSDB_CODE_SUCCESS;