提交 4e2eeed4 编写于 作者: G Ganlin Zhao

optimize

上级 99ae96da
...@@ -3055,9 +3055,9 @@ static bool needFill(SNode* pNode) { ...@@ -3055,9 +3055,9 @@ static bool needFill(SNode* pNode) {
static int32_t convertFillValue(STranslateContext* pCxt, SDataType dt, SNodeList* pValues, int32_t index) { static int32_t convertFillValue(STranslateContext* pCxt, SDataType dt, SNodeList* pValues, int32_t index) {
SListCell* pCell = nodesListGetCell(pValues, index); SListCell* pCell = nodesListGetCell(pValues, index);
//if (dataTypeEqual(&dt, &((SExprNode*)pCell->pNode)->resType)) { if (dataTypeEqual(&dt, &((SExprNode*)pCell->pNode)->resType) && (QUERY_NODE_VALUE == nodeType(pCell->pNode))) {
// return TSDB_CODE_SUCCESS; return TSDB_CODE_SUCCESS;
//} }
SNode* pCastFunc = NULL; SNode* pCastFunc = NULL;
int32_t code = createCastFunc(pCxt, pCell->pNode, dt, &pCastFunc); int32_t code = createCastFunc(pCxt, pCell->pNode, dt, &pCastFunc);
if (TSDB_CODE_SUCCESS == code) { if (TSDB_CODE_SUCCESS == code) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册