1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-641 PoC version for DECIMAL(38) using BINARY as a basis.

This commit is contained in:
Roman Nozdrin
2019-10-29 01:21:17 -05:00
parent 32f6167067
commit c9f42fb5cc
16 changed files with 70 additions and 40 deletions

View File

@ -633,9 +633,13 @@ void Convertor::convertColType(ColStruct* curStruct)
*internalType = WriteEngine::WR_INT;
break;
default:
case 8:
*internalType = WriteEngine::WR_LONGLONG;
break;
default:
*internalType = WriteEngine::WR_BCDECIMAL;
break;
}
break;

View File

@ -111,7 +111,8 @@ enum ColType /** @brief Column type enumeration*/
WR_TEXT = 17, /** @brief TEXT */
WR_MEDINT = 18, /** @brief Medium Int */
WR_UMEDINT = 19, /** @brief Unsigned Medium Int */
WR_BINARY = 20 /** @brief BINARY */
WR_BINARY = 20, /** @brief BINARY */
WR_BCDECIMAL = 21 /** @brief BINARY CODED DECIMAL */
};
// Describes relation of field to column for a bulk load