fix(query): avoid to build dummy value column in group by constant value.
This commit is contained in:
parent
eecd01dc9a
commit
dda7a598d0
|
@ -240,7 +240,7 @@ static int32_t calcConstSelect(SCalcConstContext* pCxt, SSelectStmt* pSelect, bo
|
|||
code = calcConstNode(&pSelect->pWindow);
|
||||
}
|
||||
if (TSDB_CODE_SUCCESS == code) {
|
||||
code = calcConstList(pSelect->pGroupByList);
|
||||
code = calcConstGroupBy(pCxt, pSelect);
|
||||
}
|
||||
if (TSDB_CODE_SUCCESS == code) {
|
||||
code = calcConstSelectCondition(pCxt, pSelect, &pSelect->pHaving);
|
||||
|
|
Loading…
Reference in New Issue