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-4177 Add support for bulk insertion for wide decimals.
1. This patch adds support for wide decimals with/without scale to cpimport. In addition, INSERT ... SELECT and LDI are also now supported. 2. Logic to compute the number of bytes to convert a binary representation in the buffer to a narrow decimal is also simplified.
This commit is contained in:
@ -367,6 +367,7 @@ struct JobColumn /** @brief Job Column Structure */
|
||||
long long fDefaultInt; /** @brief Integer column default */
|
||||
unsigned long long fDefaultUInt; /** @brief UnsignedInt col default*/
|
||||
double fDefaultDbl; /** @brief Dbl/Flt column default */
|
||||
int128_t fDefaultWideDecimal; /** @brief Wide decimal column default */
|
||||
std::string fDefaultChr; /** @brief Char column default */
|
||||
JobColumn() : mapOid(0), dataType(execplan::CalpontSystemCatalog::INT), weType(WR_INT),
|
||||
typeName("integer"), emptyVal(0),
|
||||
@ -376,7 +377,8 @@ struct JobColumn /** @brief Job Column Structure */
|
||||
compressionType(0), autoIncFlag(false),
|
||||
fMinIntSat(0), fMaxIntSat(0),
|
||||
fMinDblSat(0), fMaxDblSat(0), fWithDefault(false),
|
||||
fDefaultInt(0), fDefaultUInt(0), fDefaultDbl(0.0)
|
||||
fDefaultInt(0), fDefaultUInt(0), fDefaultDbl(0.0),
|
||||
fDefaultWideDecimal(0)
|
||||
{ }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user