[TD-6233]<enhance>: make column compression threshold user configurable
This commit is contained in:
parent
63223c59c0
commit
9cd910b96f
|
@ -371,7 +371,7 @@ int32_t qDumpRetrieveResult(qinfo_t qinfo, SRetrieveTableRsp **pRsp, int32_t *co
|
||||||
int32_t compSize = compLen + numOfCols * sizeof(int32_t);
|
int32_t compSize = compLen + numOfCols * sizeof(int32_t);
|
||||||
*contLen = *contLen - origSize + compSize;
|
*contLen = *contLen - origSize + compSize;
|
||||||
*pRsp = (SRetrieveTableRsp *)rpcReallocCont(*pRsp, *contLen);
|
*pRsp = (SRetrieveTableRsp *)rpcReallocCont(*pRsp, *contLen);
|
||||||
qDebug("QInfo:0x%"PRIx64" compress col data, uncompressed size:%d, compressed size:%d, ratio:%.2f\n",
|
qDebug("QInfo:0x%"PRIx64" compress col data, uncompressed size:%d, compressed size:%d, ratio:%.2f",
|
||||||
pQInfo->qId, origSize, compSize, (float)origSize / (float)compSize);
|
pQInfo->qId, origSize, compSize, (float)origSize / (float)compSize);
|
||||||
}
|
}
|
||||||
(*pRsp)->compLen = htonl(compLen);
|
(*pRsp)->compLen = htonl(compLen);
|
||||||
|
|
Loading…
Reference in New Issue