提交 2c89f46a 编写于 作者: S shenglian zhou

<fix>:add op_project when two stage stable query(since order by ts) with...

<fix>:add op_project when two stage stable query(since order by ts) with arithm expression(e.g. pow + 2)
上级 0d94fba0
...@@ -697,6 +697,11 @@ SArray* createGlobalMergePlan(SQueryAttr* pQueryAttr) { ...@@ -697,6 +697,11 @@ SArray* createGlobalMergePlan(SQueryAttr* pQueryAttr) {
taosArrayPush(plan, &op); taosArrayPush(plan, &op);
} }
if (pQueryAttr->pExpr2 != NULL) {
op = OP_Project;
taosArrayPush(plan, &op);
}
} else {
if (pQueryAttr->pExpr2 != NULL) { if (pQueryAttr->pExpr2 != NULL) {
op = OP_Project; op = OP_Project;
taosArrayPush(plan, &op); taosArrayPush(plan, &op);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册