From 068a1042163766d28137c5dec03ac236b2ad68ea Mon Sep 17 00:00:00 2001 From: Xiaoyu Wang Date: Sun, 28 Nov 2021 09:59:28 -0500 Subject: [PATCH] [TD-10986]: Add elapsed function. --- 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 727f5d42d1..45559bbe19 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -2505,7 +2505,7 @@ int32_t addExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, int32_t col const char* msg13 = "parameter list required"; const char* msg14 = "third parameter algorithm must be 'default' or 't-digest'"; const char* msg15 = "parameter is out of range [1, 1000]"; - const char* msg16 = "elapsed duration should be greater than database precision"; + const char* msg16 = "elapsed duration should be greater than or equal to database precision"; switch (functionId) { case TSDB_FUNC_COUNT: { -- GitLab