diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 56c1a346dbd1549cd8838f357af16ecba4d8ea2b..f6144be85fc34851efd550cb9b1eb4ec401566b1 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -2852,7 +2852,7 @@ int32_t addExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, int32_t col char val[8] = {0}; int64_t tickPerSec = 0; - if (pParamElem[1].pNode->exprToken.type == TK_NOW) { + if (pParamElem[1].pNode->exprToken.type == TK_NOW || strstr(pParamElem[1].pNode->exprToken.z, "now")) { return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg2); }