From f9f5c01e99b2a071d642ac5d24275e4df0b8179c Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Thu, 4 Nov 2021 21:25:52 -0400 Subject: [PATCH] modify ceil/floor/round to be scalar function later --- src/client/src/tscSQLParser.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 188e13e517..afe56145e2 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -3740,6 +3740,10 @@ static bool functionCompatibleCheck(SQueryInfo* pQueryInfo, bool joinQuery, bool ++prjNum; } + if (functionId == TSDB_FUNC_CEIL || functionId == TSDB_FUNC_FLOOR || functionId == TSDB_FUNC_ROUND) { + ++scalarFuncNum; + } + if (IS_SCALAR_FUNCTION(functionId)) { ++scalarFuncNum; } -- GitLab