disable query count

This commit is contained in:
54liuyao 2024-02-27 11:41:44 +08:00
parent abd000ed03
commit 654aa68137
1 changed files with 1 additions and 1 deletions

View File

@ -1016,7 +1016,7 @@ static int32_t createWindowLogicNodeByCount(SLogicPlanContext* pCxt, SCountWindo
return TSDB_CODE_OUT_OF_MEMORY;
}
if (tsDisableCount) {
if (!pCxt->pPlanCxt->streamQuery && tsDisableCount) {
return TSDB_CODE_FAILED;
}