You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
MCOL-3492 Format cleanup
This commit is contained in:
@@ -1131,9 +1131,9 @@ const JobStepVector doAggProject(const CalpontSelectExecutionPlan* csep, JobInfo
|
|||||||
// remember the columns to be returned
|
// remember the columns to be returned
|
||||||
jobInfo.returnedColVec.push_back(make_pair(tupleKey, op));
|
jobInfo.returnedColVec.push_back(make_pair(tupleKey, op));
|
||||||
|
|
||||||
// bug 1499 distinct processing, save unique distinct columns that aren't Window columns
|
// bug 1499 distinct processing, save unique distinct columns
|
||||||
if (doDistinct
|
if (doDistinct &&
|
||||||
&& (jobInfo.distinctColVec.end() ==
|
(jobInfo.distinctColVec.end() ==
|
||||||
find(jobInfo.distinctColVec.begin(), jobInfo.distinctColVec.end(), tupleKey)))
|
find(jobInfo.distinctColVec.begin(), jobInfo.distinctColVec.end(), tupleKey)))
|
||||||
{
|
{
|
||||||
jobInfo.distinctColVec.push_back(tupleKey);
|
jobInfo.distinctColVec.push_back(tupleKey);
|
||||||
@@ -1284,13 +1284,13 @@ const JobStepVector doAggProject(const CalpontSelectExecutionPlan* csep, JobInfo
|
|||||||
// remember the columns to be returned
|
// remember the columns to be returned
|
||||||
jobInfo.returnedColVec.push_back(make_pair(tupleKey, op));
|
jobInfo.returnedColVec.push_back(make_pair(tupleKey, op));
|
||||||
|
|
||||||
// bug 1499 distinct processing, save unique distinct columns that aren't Window columns
|
// bug 1499 distinct processing, save unique distinct columns
|
||||||
if (doDistinct
|
if (doDistinct &&
|
||||||
&& (jobInfo.distinctColVec.end() ==
|
(jobInfo.distinctColVec.end() ==
|
||||||
find(jobInfo.distinctColVec.begin(), jobInfo.distinctColVec.end(), tupleKey)))
|
find(jobInfo.distinctColVec.begin(), jobInfo.distinctColVec.end(), tupleKey)))
|
||||||
{
|
{
|
||||||
jobInfo.distinctColVec.push_back(tupleKey);
|
jobInfo.distinctColVec.push_back(tupleKey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user