1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00

fix(joblist,sorting): columnstore_orderby_threads for subquery (#3079)

This commit is contained in:
Leonid Fedorov 2024-07-31 17:50:18 +04:00 committed by GitHub
parent 70a7a01941
commit f62ef0041c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,7 +82,7 @@ SJSTEP& SubQueryTransformer::makeSubQueryStep(execplan::CalpontSelectExecutionPl
if (fOutJobInfo->trace)
cout << (*csep) << endl;
// Setup job info, job list and error status relation.
// Setup job info, job list and error status relation.
fSubJobInfo = new JobInfo(fOutJobInfo->rm);
fSubJobInfo->sessionId = fOutJobInfo->sessionId;
fSubJobInfo->txnId = fOutJobInfo->txnId;
@ -119,6 +119,8 @@ SJSTEP& SubQueryTransformer::makeSubQueryStep(execplan::CalpontSelectExecutionPl
fSubJobInfo->partitionSize = fOutJobInfo->partitionSize;
fSubJobInfo->umMemLimit = fOutJobInfo->umMemLimit;
fSubJobInfo->isDML = fOutJobInfo->isDML;
fSubJobInfo->orderByThreads = csep->orderByThreads();
// Update v-table's alias.
fVtable.name("$sub");