fix(stream):check stream sql

This commit is contained in:
54liuyao 2024-10-11 15:47:55 +08:00
parent a2ef8c55a1
commit 96338d021f
1 changed files with 1 additions and 1 deletions

View File

@ -10819,7 +10819,7 @@ static int32_t checkStreamQuery(STranslateContext* pCxt, SCreateStreamStmt* pStm
if (NULL == pSelect->pWindow && pSelect->hasAggFuncs) {
return generateSyntaxErrMsgExt(&pCxt->msgBuf, TSDB_CODE_PAR_INVALID_STREAM_QUERY,
"Non window query only support scalar function, aggreate function is not allowed");
"Non window query only support scalar function, aggregate function is not allowed");
}
return TSDB_CODE_SUCCESS;