1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

MCOL-265 Add support for TIMESTAMP data type

This commit is contained in:
Gagan Goel
2019-03-17 14:14:03 -04:00
parent 8a7ccd7d93
commit e89d1ac3cf
167 changed files with 4346 additions and 250 deletions

View File

@@ -214,6 +214,11 @@ bool typesAreSame(const CalpontSystemCatalog::ColType& colType, const ColumnType
break;
case (CalpontSystemCatalog::TIMESTAMP):
if (newType.fType == DDL_TIMESTAMP) return true;
break;
case (CalpontSystemCatalog::TIME):
if (newType.fType == DDL_TIME) return true;
@@ -989,6 +994,7 @@ void AlterTableProcessor::addColumn (uint32_t sessionID, execplan::CalpontSystem
bs << (ByteStream::byte) column_iterator->colType.colDataType;
bs << (uint32_t) column_iterator->colType.colWidth;
bs << (ByteStream::byte) column_iterator->colType.compressionType;
bs << fTimeZone;
//cout << "sending command fillcolumn " << endl;
uint32_t msgRecived = 0;
fWEClient->write_to_all(bs);