You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-5021 Add prototype support for the AUX column in CREATE/DROP
DDL commands, single and multi-value INSERTs, cpimport, and DELETE.
This commit is contained in:
@ -87,6 +87,7 @@ void SystemCatalog::build()
|
||||
oids[OID_SYSTABLE_AVGROWLEN] = OID_SYSTABLE_AVGROWLEN;
|
||||
oids[OID_SYSTABLE_NUMOFBLOCKS] = OID_SYSTABLE_NUMOFBLOCKS;
|
||||
oids[OID_SYSTABLE_AUTOINCREMENT] = OID_SYSTABLE_AUTOINCREMENT;
|
||||
oids[OID_SYSTABLE_AUXCOLUMNOID] = OID_SYSTABLE_AUXCOLUMNOID;
|
||||
}
|
||||
|
||||
fWriteEngine.setTransId(1);
|
||||
@ -234,6 +235,17 @@ void SystemCatalog::build()
|
||||
|
||||
msg.str("");
|
||||
|
||||
// AUXCOLUMNOID
|
||||
msg << " Creating AUXCOLUMNOID column OID: " << OID_SYSTABLE_AUXCOLUMNOID;
|
||||
cout << msg.str() << endl;
|
||||
rc = fWriteEngine.createColumn(txnID, OID_SYSTABLE_AUXCOLUMNOID, CalpontSystemCatalog::INT, 4, dbRoot,
|
||||
partition, compressionType);
|
||||
|
||||
if (rc)
|
||||
throw runtime_error(msg.str() + ec.errorString(rc));
|
||||
|
||||
msg.str("");
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Create SYSCOLUMN table
|
||||
//------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user