chore: more check
This commit is contained in:
parent
e56c5950aa
commit
c3726b8264
|
@ -750,7 +750,7 @@ static int32_t createWindowLogicNodeFinalize(SLogicPlanContext* pCxt, SSelectStm
|
||||||
}
|
}
|
||||||
|
|
||||||
// erase duplicated Window Pseudo funcNode by filtering colNode in pSelect->pProjectionList
|
// 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;
|
int32_t funcIndex = 0;
|
||||||
SNode * pFunc = NULL, *pProject = NULL;
|
SNode * pFunc = NULL, *pProject = NULL;
|
||||||
FOREACH(pFunc, pWindow->pFuncs) {
|
FOREACH(pFunc, pWindow->pFuncs) {
|
||||||
|
|
Loading…
Reference in New Issue