ApsaraDB for OceanBase uses the data type precedence to specify the order in which data types are implicitly converted.
The following list provides the precedence from highest to lowest for converting data types in ApsaraDB for OceanBase.
DATETIME and INTERVAL data types
Character data types
All the other built-in data types