Review Column Limits for data types.
Spatial data types are unsupported. See Spatial Data Types.
-
The following string and text data types are unsupported:
-
Decimal values with a precision greater than 18 in expression operators are unsupported, with the exception of the following:
Arithmetic operators, see: Section 5.3.2, “Arithmetic Operators”.
-
The following
ENUMtype columns are unsupported:ENUMtype columns as part of aUNION,EXCEPT,EXCEPT ALL,INTERSECT, orINTERSECT ALLSELECTlist or as aJOINkey, except when used inside a supported expression.ENUMtype columns as part of a non-top levelUNION ALLSELECTlist or as aJOINkey, except when used inside a supported expression.
-
ENUMtype support is limited to:Comparison with string or numeric constants, and other numeric, non-temporal expressions (numeric columns, constants, and functions with a numeric result).
Comparison operators (<, <=, <=>, =, >=, >, and
BETWEEN) with numeric arguments.Comparison operators (=, <=>, and <>) with string constants.
enum_colIS [NOT] {NULL|TRUE|FALSE}The
IN()function in combination with numeric arguments (constants, functions, or columns) and string constants.COUNT(),SUM(), andAVG()aggregation functions onENUMcolumns. The functions operate on the numeric index value, not the associated string value.CAST(. The numeric index value is cast, not the associated string value.enum_colAS {[N]CHAR [(X)]|SIGNED|UNSIGNED|FLOAT|DOUBLE|DECIMAL [(M,N)]})CAST(is supported only in theenum_col) AS {[N]CHAR}SELECTlist and when it is not nested in another expression.
You cannot run queries for materialized views that project
ENUMtype columns.Temporal types are supported only with strict SQL mode.