From 0d341d08ec62ddf5cf1ca62e099d41fa90fcf57d Mon Sep 17 00:00:00 2001 From: Shungang Li Date: Tue, 13 Aug 2024 09:35:12 +0800 Subject: [PATCH] fix: add more log --- source/libs/parser/src/parTranslater.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/libs/parser/src/parTranslater.c b/source/libs/parser/src/parTranslater.c index 6218fd1a57..683f72d927 100755 --- a/source/libs/parser/src/parTranslater.c +++ b/source/libs/parser/src/parTranslater.c @@ -14096,6 +14096,9 @@ static int32_t rewriteCreateTableFromFile(STranslateContext* pCxt, SQuery* pQuer code = serializeVgroupsCreateTableBatch(pModifyStmt->pVgroupsHashObj, &pBufArray); taosHashClear(pModifyStmt->pVgroupsHashObj); if (TSDB_CODE_SUCCESS != code) { + if (TSDB_CODE_INVALID_MSG_LEN == code) { + qError("maxInsertBatchRows may need to be reduced, current:%d", tsMaxInsertBatchRows); + } taosHashCleanup(pModifyStmt->pVgroupsHashObj); return code; }