check count & window
This commit is contained in:
parent
42f9d54a70
commit
86351d5487
|
@ -487,7 +487,7 @@ static int32_t createScanLogicNode(SLogicPlanContext* pCxt, SSelectStmt* pSelect
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isCountByTag = false;
|
bool isCountByTag = false;
|
||||||
if (pSelect->hasCountFunc) {
|
if (pSelect->hasCountFunc && !pSelect->pWindow) {
|
||||||
if (pSelect->pGroupByList) {
|
if (pSelect->pGroupByList) {
|
||||||
isCountByTag = !keysHasCol(pSelect->pGroupByList);
|
isCountByTag = !keysHasCol(pSelect->pGroupByList);
|
||||||
} else if (pSelect->pPartitionByList) {
|
} else if (pSelect->pPartitionByList) {
|
||||||
|
|
Loading…
Reference in New Issue