diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index bb9ded8e40258060cc6a80c4bb0e2ecd42bc74a0..985c35a00983a4d208ca4b9e6fe18746bdeaa7ae 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -1925,7 +1925,7 @@ static void doHashGroupbyAgg(SOperatorInfo* pOperator, SGroupbyOperatorInfo* pIn STimeWindow w = TSWINDOW_INITIALIZER; char* key = NULL; - int16_t num = 0; + int32_t num = 0; int32_t type = 0; for (int32_t j = 0; j < pSDataBlock->info.rows; ++j) { buildGroupbyKeyBuf(pSDataBlock, pInfo, j, &key);