提交 455a9774 编写于 作者: X xywang

[TD-2573]<fix>: fixed arithmetic error for ceil, floor and round

上级 f8e30a67
...@@ -638,6 +638,12 @@ SArray* createExecOperatorPlan(SQueryAttr* pQueryAttr) { ...@@ -638,6 +638,12 @@ SArray* createExecOperatorPlan(SQueryAttr* pQueryAttr) {
} else { } else {
op = OP_Project; op = OP_Project;
taosArrayPush(plan, &op); taosArrayPush(plan, &op);
if (pQueryAttr->pExpr2 != NULL) {
op = OP_Project;
taosArrayPush(plan, &op);
}
if (pQueryAttr->distinct) { if (pQueryAttr->distinct) {
op = OP_Distinct; op = OP_Distinct;
taosArrayPush(plan, &op); taosArrayPush(plan, &op);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册