From 8e9f5bf845fd77acbd629e21b88e12821b60c04b Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Tue, 12 Oct 2021 11:04:41 +0800 Subject: [PATCH] :fix function compatible check:group by tbname not supported --- src/client/src/tscSQLParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index d92330b16a..fec35da4da 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -7308,7 +7308,7 @@ int32_t doFunctionsCompatibleCheck(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, char* } if (TSDB_FUNC_IS_SCALAR(f)) { - continue; + return invalidOperationMsg(msg, msg1); } if ((!pQueryInfo->stateWindow) && (f == TSDB_FUNC_DIFF || f == TSDB_FUNC_DERIVATIVE || f == TSDB_FUNC_TWA || f == TSDB_FUNC_IRATE)) { -- GitLab