未验证 提交 d904438c 编写于 作者: W wade zhang 提交者: GitHub

Merge pull request #16911 from taosdata/szhou/2.6/fixbugs

fix: aggregation error when one group rows exceed int16_max
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册