From 068db1025ddd5f6a62fcaa291737078e589544ea Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Tue, 7 Dec 2021 17:00:10 +0800 Subject: [PATCH] make cast array and function id consistent --- src/common/src/texpr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/common/src/texpr.c b/src/common/src/texpr.c index edd5199100..94e56940c4 100644 --- a/src/common/src/texpr.c +++ b/src/common/src/texpr.c @@ -1685,11 +1685,6 @@ tScalarFunctionInfo aScalarFunctions[] = { "length", vectorLength }, - { - TSDB_FUNC_SCALAR_CAST, - "cast", - vectorMathFunc - }, { TSDB_FUNC_SCALAR_CONCAT_WS, "concat_ws", @@ -1699,5 +1694,10 @@ tScalarFunctionInfo aScalarFunctions[] = { TSDB_FUNC_SCALAR_CHAR_LENGTH, "char_length", vectorCharLength - } + }, + { + TSDB_FUNC_SCALAR_CAST, + "cast", + vectorMathFunc + }, }; -- GitLab