提交 068db102 编写于 作者: S shenglian zhou

make cast array and function id consistent

上级 2fe296f8
...@@ -1685,11 +1685,6 @@ tScalarFunctionInfo aScalarFunctions[] = { ...@@ -1685,11 +1685,6 @@ tScalarFunctionInfo aScalarFunctions[] = {
"length", "length",
vectorLength vectorLength
}, },
{
TSDB_FUNC_SCALAR_CAST,
"cast",
vectorMathFunc
},
{ {
TSDB_FUNC_SCALAR_CONCAT_WS, TSDB_FUNC_SCALAR_CONCAT_WS,
"concat_ws", "concat_ws",
...@@ -1699,5 +1694,10 @@ tScalarFunctionInfo aScalarFunctions[] = { ...@@ -1699,5 +1694,10 @@ tScalarFunctionInfo aScalarFunctions[] = {
TSDB_FUNC_SCALAR_CHAR_LENGTH, TSDB_FUNC_SCALAR_CHAR_LENGTH,
"char_length", "char_length",
vectorCharLength vectorCharLength
} },
{
TSDB_FUNC_SCALAR_CAST,
"cast",
vectorMathFunc
},
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册