chore: more check

This commit is contained in:
kailixu 2023-06-08 14:42:10 +08:00
parent e56c5950aa
commit c3726b8264
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ static int32_t createWindowLogicNodeFinalize(SLogicPlanContext* pCxt, SSelectStm
}
// erase duplicated Window Pseudo funcNode by filtering colNode in pSelect->pProjectionList
if (pSelect->pProjectionList) {
if (WINDOW_TYPE_INTERVAL == pWindow->winType && pSelect->pProjectionList) {
int32_t funcIndex = 0;
SNode * pFunc = NULL, *pProject = NULL;
FOREACH(pFunc, pWindow->pFuncs) {