diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 0bb900540100bd6bec4c17ff4273d10df82f6f15..2f491931a2b064886a01dd7b8cd23c962e22a348 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -2454,7 +2454,7 @@ int32_t addExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, int32_t col const char* msg12 = "parameter is out of range [1, 100]"; 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 [0, 1000]"; + const char* msg15 = "parameter is out of range [1, 1000]"; switch (functionId) { case TSDB_FUNC_COUNT: {