提交 482afcf2 编写于 作者: G Ganlin Zhao

refactor(query): refactor cast function

TD-14837
TD-14843
TD-14904
上级 11028921
......@@ -444,9 +444,6 @@ EDealRes sclRewriteFunction(SNode** pNode, SScalarCtx *ctx) {
res->node.resType.type = TSDB_DATA_TYPE_NULL;
} else {
res->node.resType = node->node.resType;
if (res->node.resType.type == TSDB_DATA_TYPE_NCHAR) {
res->node.resType.bytes *= TSDB_NCHAR_SIZE;
}
int32_t type = output.columnData->info.type;
if (IS_VAR_DATA_TYPE(type)) {
res->datum.p = output.columnData->pData;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册