other: update some logs.

This commit is contained in:
Haojun Liao 2023-05-19 23:53:23 +08:00
parent 56e5a483dd
commit 8ab065d01e
2 changed files with 4 additions and 5 deletions

View File

@ -2514,9 +2514,6 @@ int32_t blockEncode(const SSDataBlock* pBlock, char* data, int32_t numOfCols) {
*actualLen = dataLen;
*groupId = pBlock->info.id.groupId;
ASSERT(dataLen > 0);
uDebug("build data block, actualLen:%d, rows:%d, cols:%d", dataLen, *rows, *cols);
return dataLen;
}

View File

@ -365,9 +365,11 @@ int32_t streamExecForAll(SStreamTask* pTask) {
}
double el = (taosGetTimestampMs() - st) / 1000.0;
qDebug("s-task:%s exec end, elapsed time:%.2fs, result size:%.2fMiB", pTask->id.idStr, el, resSize/1048576.0);
if (taosArrayGetSize(pRes) != 0) {
int32_t numOfBlocks = taosArrayGetSize(pRes);
qDebug("s-task:%s exec end, elapsed time:%.2fs, result size:%.2fMiB, numOfBlocks:%d", pTask->id.idStr, el, resSize/1048576.0, numOfBlocks);
if (numOfBlocks > 0) {
SStreamDataBlock* qRes = taosAllocateQitem(sizeof(SStreamDataBlock), DEF_QITEM, 0);
if (qRes == NULL) {
taosArrayDestroyEx(pRes, (FDelete)blockDataFreeRes);