提交 68f019e3 编写于 作者: S shenglian zhou

set ptsList for utf whenever the type and treat ceil/floor/round as scalar...

set ptsList for utf whenever the type and treat ceil/floor/round as scalar func in function compatible check
上级 631f58cb
......@@ -3751,10 +3751,6 @@ static bool functionCompatibleCheck(SQueryInfo* pQueryInfo, bool joinQuery, bool
++scalarFuncNum;
}
if (IS_SCALAR_FUNCTION(functionId)) {
++scalarFuncNum;
}
if (TSDB_FUNC_IS_SCALAR(functionId)) {
++scalarFuncNum;
}
......
......@@ -1265,12 +1265,7 @@ static void doSetInputDataBlock(SOperatorInfo* pOperator, SQLFunctionCtx* pCtx,
if (pCtx[i].functionId < 0 || TSDB_FUNC_IS_SCALAR(pCtx[i].functionId)) {
SColumnInfoData* tsInfo = taosArrayGet(pBlock->pDataBlock, 0);
if (tsInfo->info.type == TSDB_DATA_TYPE_TIMESTAMP) {
pCtx[i].ptsList = (int64_t*)tsInfo->pData;
} else {
pCtx[i].ptsList = NULL;
}
pCtx[i].ptsList = (int64_t*)tsInfo->pData;
continue;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册