fix: disable sort by row id when num of tables is 1
This commit is contained in:
parent
0f9be1033a
commit
7c58a9a280
|
@ -3425,7 +3425,7 @@ int32_t startDurationForGroupTableMergeScan(SOperatorInfo* pOperator) {
|
|||
pInfo->sortBufSize = 2048 * pInfo->bufPageSize;
|
||||
int32_t numOfBufPage = pInfo->sortBufSize / pInfo->bufPageSize;
|
||||
|
||||
if (pInfo->bSortRowId) {
|
||||
if (pInfo->bSortRowId && numOfTable != 1) {
|
||||
pInfo->pSortHandle = tsortCreateSortHandle(pInfo->pSortInfo, SORT_BLOCK_TS_MERGE, pInfo->bufPageSize, numOfBufPage,
|
||||
pInfo->pSortInputBlock, pTaskInfo->id.str, 0, 0, 0);
|
||||
int32_t memSize = 512 * 1024 * 1024;
|
||||
|
|
Loading…
Reference in New Issue