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-298 Fix saturated date/datetime handling
Saturated DML updates would be set to NULL as were saturated cpimport values. This sets them to the zero date/datetime value.
This commit is contained in:
@ -924,24 +924,15 @@ void TableInfo::reportTotals(double elapsedTime)
|
||||
fColumns[i].column.colName << "; Number of ";
|
||||
if (fColumns[i].column.dataType == CalpontSystemCatalog::DATE)
|
||||
{
|
||||
//bug5383
|
||||
if(!fColumns[i].column.fNotNull)
|
||||
ossSatCnt <<
|
||||
"invalid dates replaced with null: ";
|
||||
else
|
||||
ossSatCnt <<
|
||||
"invalid dates replaced with minimum value : ";
|
||||
ossSatCnt <<
|
||||
"invalid dates replaced with zero value : ";
|
||||
}
|
||||
else if (fColumns[i].column.dataType ==
|
||||
CalpontSystemCatalog::DATETIME)
|
||||
{
|
||||
//bug5383
|
||||
if(!fColumns[i].column.fNotNull)
|
||||
ossSatCnt <<
|
||||
"invalid date/times replaced with null: ";
|
||||
else
|
||||
ossSatCnt <<
|
||||
"invalid date/times replaced with minimum value : ";
|
||||
ossSatCnt <<
|
||||
"invalid date/times replaced with zero value : ";
|
||||
}
|
||||
else if (fColumns[i].column.dataType == CalpontSystemCatalog::CHAR)
|
||||
ossSatCnt <<
|
||||
|
Reference in New Issue
Block a user