Data Types for MariaDB Xpand
This page is part of MariaDB's Documentation.
The parent of this page is: Data Types
Topics on this page:
Overview
MariaDB Xpand supports many data types.
Compatibility
MariaDB Xpand 5.3
MariaDB Xpand 6.0
MariaDB Xpand 6.1
Supported Data Types
Data Types supported by Xpand include:
BIGINTBINARYBITBLOBBOOLCHARCLOB(starting with Xpand 6.1)DATEandDATETIMEincluding Fractional SecondsDECIMAL (M,D)DOUBLE (M,D)DOUBLE PRECISION (M,D)(is treated asDOUBLE)ENUM ("A")FLOAT (M,D)INTJSONLONGBLOBLONGTEXTMEDIUMBLOBMEDIUMINTMEDIUMTEXTNATIONAL VARCHAR(starting with Xpand 6.1)NUMERIC (M,D)(is treated asDECIMAL)NVARCHAR(starting with Xpand 6.1)REAL(is treated asDOUBLE)SERIAL(is treated asBIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT)SET ("A","B") SMALLINT TEXT TIME TIMESTAMPSMALLINTTEXTTIMETINYBLOBTINYINTTINYTEXTVARBINARYVARCHARYEAR
The full list of supported data types for MariaDB Xpand are available in reference. For additional information, see "Data Type Reference for MariaDB Xpand".
Unsupported Data Types
Xpand does not support:
Spatial Extensions
Caveats for Data Type Support
Xpand permits table definitions that use the
VARCHARdata type with no max length, and supply a default max length of21845. MySQL does not permit this.
