tencent cloud

TDSQL Boundless

Data Types

Download
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-07-10 11:13:52
This document lists the MySQL data types supported by the read-only analysis instance and their corresponding support details.

Numeric Data Types

Type
System Support
Description
TINYINT
Supported
Supports both signed and unsigned. BOOL and BOOLEAN are also supported as aliases for TINYINT(1).
SMALLINT
Supported
Supports both signed and unsigned.
MEDIUMINT
Supported
Supports both signed and unsigned.
INT,INTEGER
Supported
Supports both signed and unsigned.
BIGINT
Supported
Supports both signed and unsigned. SERIAL is also supported as an alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE.
DECIMAL,NUMERIC
Supported
Retains the original precision according to the declared precision and scale (P, S).
FLOAT
Supported
-
DOUBLE
Supported
-
BIT
Supported
The read-only analysis instance uniformly stores the BIT type as a 64-bit unsigned integer, which can fully cover the entire value range of MySQL BIT(M) (where M ranges from 1 to 64). It is only applicable to numerical judgment scenarios.

Date and time data type

Type
System Support
Description
DATE
Supported
-
DATETIME
Supported
Supports fractional seconds.
TIMESTAMP
Supported
Supports fractional seconds.
TIME
Supported
Supports fractional seconds.
YEAR
Supported
-

Character and Binary Data Types

Type
System Support
Description
CHAR
Supported
Stored at the declared fixed length.
VARCHAR
Supported
-
TINYTEXT,TEXT,MEDIUMTEXT,LONGTEXT
Supported
-
BINARY,VARBINARY
Supported
-
TINYBLOB,BLOB,MEDIUMBLOB,LONGBLOB
Supported
-
ENUM
Supported
The read-only analysis instance stores and processes ENUM and SET types by converting them to the string type. For SET, multiple members are separated by commas during storage (for example, a,b,c).
Affected by this:
1. Queries based on bitwise operations (for example, operations such as &, |, or ^ applied to SET columns) are not supported.
2. The find_in_set function is supported for searching by member name within a SET column.
SET

Spatial data type

Type
System Support
Description
GEOMETRY
Partially supported
Stores raw WKB bytes only as strings, and does not support spatial function operations or spatial indexes.
POINT,LINESTRING,POLYGON,MULTIPOINT,MULTILINESTRING,MULTIPOLYGON,GEOMETRYCOLLECTION
Not supported.
-

JSON Data Types

Type
System Support
Description
JSON
Supported
Supports MySQL-compatible JSON functions and path expressions, such as JSON_EXTRACT, ->, ->>, and so on.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan