You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-265 Add support for TIMESTAMP data type
This commit is contained in:
@ -114,6 +114,7 @@ TableInfo::TableInfo(Log* logger, const BRM::TxnID txnID,
|
||||
fKeepRbMetaFile(bKeepRbMetaFile),
|
||||
fbTruncationAsError(false),
|
||||
fImportDataMode(IMPORT_DATA_TEXT),
|
||||
fTimeZone("SYSTEM"),
|
||||
fTableLocked(false),
|
||||
fReadFromStdin(false),
|
||||
fNullStringMode(false),
|
||||
@ -989,6 +990,11 @@ void TableInfo::reportTotals(double elapsedTime)
|
||||
ossSatCnt <<
|
||||
"invalid date/times replaced with zero value : ";
|
||||
}
|
||||
else if (fColumns[i].column.dataType == CalpontSystemCatalog::TIMESTAMP)
|
||||
{
|
||||
ossSatCnt <<
|
||||
"invalid timestamps replaced with zero value : ";
|
||||
}
|
||||
else if (fColumns[i].column.dataType == CalpontSystemCatalog::TIME)
|
||||
{
|
||||
ossSatCnt <<
|
||||
@ -1246,6 +1252,7 @@ void TableInfo::initializeBuffers(int noOfBuffers,
|
||||
buffer->setTruncationAsError(getTruncationAsError());
|
||||
buffer->setImportDataMode(fImportDataMode,
|
||||
fixedBinaryRecLen);
|
||||
buffer->setTimeZone(fTimeZone);
|
||||
fBuffers.push_back(buffer);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user