提交 9fba096e 编写于 作者: H Haojun Liao

[TD-2220]<fix>: fix the bug in column arithmetic expression.

上级 12bbecc5
......@@ -497,7 +497,7 @@ void tExprTreeCalcTraverse(tExprNode *pExprs, int32_t numOfRows, char *pOutput,
_bi_consumer_fn_t fp = tGetBiConsumerFn(pLeft->pSchema->type, pRight->pSchema->type, pExprs->_node.optr);
// both columns are descending order, do not reverse the source data
fp(pLeftInputData, pRightInputData, numOfRows, numOfRows, pOutput, TSDB_ORDER_DESC);
fp(pLeftInputData, pRightInputData, numOfRows, numOfRows, pOutput, order);
} else if (pRight->nodeType == TSQL_NODE_VALUE) { // columnLeft + 12
_bi_consumer_fn_t fp = tGetBiConsumerFn(pLeft->pSchema->type, pRight->pVal->nType, pExprs->_node.optr);
......
......@@ -113,19 +113,19 @@ if $data90 != 0.000000000 then
return -1
endi
if $data11 != 0.000000000 then
if $data91 != 0.000000000 then
return -1
endi
if $data12 != 0.000000000 then
if $data92 != 0.000000000 then
return -1
endi
if $data13 != 0.000000000 then
if $data93 != 0.000000000 then
return -1
endi
if $data14 != 0.000000000 then
if $data94 != 0.000000000 then
return -1
endi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册