Syntax and Data Type Mappings Between HTAP and TaurusDB Instances
When data of TaurusDB instances is synchronized to HTAP instances, the data types will be converted. For details, see Table 1.
Data Type |
TaurusDB Instance Data Type |
HTAP Instance Data Type |
---|---|---|
NUMERTIC |
TINYINT |
TINYINT |
TINYINT UNSIGNED |
SMALLINT |
|
SMALLINT |
SMALLINT |
|
SMALLINT UNSIGNED |
INT |
|
MEDIUMINT |
INT |
|
INTEGER/INT |
INT |
|
INTEGER/INT UNSIGNED |
BIGINT |
|
BIGINT |
BIGINT |
|
BIGINT UNSIGNED |
LARGEINT |
|
DECIMAL/NEMERIC |
DECIMAL |
|
FLOAT |
FLOAT |
|
DOUBLE/REAL |
DOUBLE |
|
BIT |
STRING |
|
DATE TIME |
DATE |
DATE |
DATETIME |
DATETIME |
|
TIMESTAMP |
DATETIME |
|
TIME |
STRING |
|
YEAR |
INT |
|
STRING |
CHAR |
CHAR/VARCHAR |
VARCHAR |
VARCHAR |
|
BINARY |
VARBINARY |
|
VARBINARY |
VARBINARY |
|
BLOB |
VARBINARY |
|
TEXT |
STRING |
|
ENUM |
STRING |
|
SET |
STRING |
|
SPATIAL |
GEOMETRY |
STRING |
POINT |
STRING |
|
LINESTRING |
STRING |
|
POLYGON |
STRING |
|
MULTIPOINT |
STRING |
|
MULTILINESTRING |
STRING |
|
MULTIPOLYGON |
STRING |
|
GEOMETRYCOLLECTION |
STRING |
|
JSON |
JSON |
JSON |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot