1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-05 16:15:50 +03:00

MCOL-3356. bit_{or,xor,and} job creation error

Checkpointing.  Found it, fixed it.  It was an extra assignment that was
messing up RowGroup creation.
This commit is contained in:
Patrick LeBlanc
2020-03-19 12:39:16 -04:00
parent f9fbb86ced
commit 17f1539f89
2 changed files with 10 additions and 1 deletions

View File

@@ -1946,7 +1946,7 @@ void TupleAggregateStep::prep1PhaseDistinctAggregate(
keysAgg.push_back(aggKey); keysAgg.push_back(aggKey);
scaleAgg.push_back(0); scaleAgg.push_back(0);
precisionAgg.push_back(-16); // for connector to skip null check precisionAgg.push_back(-16); // for connector to skip null check
typeAgg.push_back(CalpontSystemCatalog::BIGINT); //typeAgg.push_back(CalpontSystemCatalog::BIGINT);
if (isUnsigned(typeProj[colProj])) if (isUnsigned(typeProj[colProj]))
{ {

View File

@@ -1047,6 +1047,15 @@ RowGroup::RowGroup(uint32_t colCount,
useStringTable = (stringTable && hasLongStringField); useStringTable = (stringTable && hasLongStringField);
offsets = (useStringTable ? &stOffsets[0] : &oldOffsets[0]); offsets = (useStringTable ? &stOffsets[0] : &oldOffsets[0]);
for (i = 0; i < columnCount; i++)
{
if (types[i] == CalpontSystemCatalog::BIGINT && colWidths[i] != 8)
{
cout << "WTF?" << endl;
}
}
} }
RowGroup::RowGroup(const RowGroup& r) : RowGroup::RowGroup(const RowGroup& r) :