Merge pull request #28416 from taosdata/fix/ly_stream

fix(stream):modify error message
This commit is contained in:
Shengliang Guan 2024-11-05 09:57:28 +08:00 committed by GitHub
commit 4755c723d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -10888,7 +10888,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");
}
}
}