You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-3536 collation
This commit is contained in:
@ -198,6 +198,7 @@ SJSTEP& SubQueryTransformer::makeSubQueryStep(execplan::CalpontSelectExecutionPl
|
||||
vector<uint32_t> scale;
|
||||
vector<uint32_t> precision;
|
||||
vector<CalpontSystemCatalog::ColDataType> types;
|
||||
vector<uint32_t> csNums;
|
||||
pos.push_back(2);
|
||||
|
||||
CalpontSystemCatalog::OID tblOid = fVtable.tableOid();
|
||||
@ -229,6 +230,7 @@ SJSTEP& SubQueryTransformer::makeSubQueryStep(execplan::CalpontSelectExecutionPl
|
||||
{
|
||||
ct.colWidth = row.getColumnWidth(i);
|
||||
ct.colDataType = row.getColTypes()[i];
|
||||
ct.charsetNumber = row.getCharsetNumber(i);
|
||||
ct.scale = row.getScale(i);
|
||||
|
||||
if (colDataTypeInRg != CalpontSystemCatalog::FLOAT &&
|
||||
@ -268,6 +270,7 @@ SJSTEP& SubQueryTransformer::makeSubQueryStep(execplan::CalpontSelectExecutionPl
|
||||
oids.push_back(ti.oid);
|
||||
keys.push_back(ti.key);
|
||||
types.push_back(ti.dtype);
|
||||
csNums.push_back(ti.csNum);
|
||||
scale.push_back(ti.scale);
|
||||
precision.push_back(ti.precision);
|
||||
}
|
||||
@ -276,7 +279,7 @@ SJSTEP& SubQueryTransformer::makeSubQueryStep(execplan::CalpontSelectExecutionPl
|
||||
fVtable.columnType(i);
|
||||
}
|
||||
|
||||
RowGroup rg1(oids.size(), pos, oids, keys, types, scale, precision, csep->stringTableThreshold());
|
||||
RowGroup rg1(oids.size(), pos, oids, keys, types, csNums, scale, precision, csep->stringTableThreshold());
|
||||
rg1.setUseStringTable(rg.usesStringTable());
|
||||
|
||||
dynamic_cast<SubQueryStep*>(fSubQueryStep.get())->setOutputRowGroup(rg1);
|
||||
|
Reference in New Issue
Block a user