fix(stream):modify error message

This commit is contained in:
54liuyao 2024-10-18 15:46:38 +08:00
parent 8bb68adbcb
commit f40a760f1c
1 changed files with 1 additions and 1 deletions

View File

@ -10617,7 +10617,7 @@ static int32_t checkStreamQuery(STranslateContext* pCxt, SCreateStreamStmt* pStm
parseNatualDuration(str, strlen(str), &minDelay, &pVal->unit, pVal->node.resType.precision, false)) {
if (pVal->datum.i < minDelay) {
return generateSyntaxErrMsgExt(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_STREAM_QUERY,
"stream max delay must be bigger than 5 session");
"stream max delay must be bigger than 5 seconds");
}
}
}