Overview
The V$OB_COMPATIBILITY_CONTROL view displays all features that can be controlled for product behavior compatibility with the OceanBase AI Database release version.
Columns
Field |
Type |
Nullable |
Description |
|---|---|---|---|
| NAME | varchar(128) | NO | Feature name |
| DESCRIPTION | varchar(4096) | NO | Feature description |
| IS_ENABLE | varchar(5) | NO | Effective |
| ENABLE_VERSIONS | longtext | NO | The effective version range, represented by a series of intervals |
Sample query
In the sys tenant, view all features whose product behavior can be controlled for compatibility with the OceanBase AI Database release version.
obclient [oceanbase]> SELECT * FROM oceanbase.V$OB_COMPATIBILITY_CONTROL;
The query result is as follows:
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------------------+
| NAME | DESCRIPTION | IS_ENABLE | ENABLE_VERSIONS |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------------------+
| FUNC_REPLACE_NULL | The result of REPLACE('abd', '', null) is different in MySQL 5.7 and 8.0 | TRUE | [4.2.3.0, 4.3.0.0), [4.3.2.0, ) |
| UPD_LIMIT_OFFSET | MySQL do not support the use of OFFSET in the LIMIT clause of UPDATE/DELETE statement | TRUE | [4.2.3.0, 4.3.0.0), [4.3.2.0, ) |
| PROJECT_NULL | MySQL will rename the projection item names with pure null values to `NULL` | TRUE | [4.2.3.0, 4.3.0.0), [4.3.2.0, ) |
| VAR_NAME_LENGTH | MySQL will limit the length of user-defined variable names to within 64 characters | TRUE | [4.2.3.0, 4.3.0.0), [4.3.2.0, ) |
| NULL_VALUE_FOR_CLOSED_CURSOR | Return null value to client for closed cursor, indicating that the cursor is not open | TRUE | [4.2.5.0, 4.3.0.0), [4.3.3.0, ) |
| FUNC_LOCATE_NULL | The result of REPLACE('x', 'abc', null) is different in MySQL 5.7 and 8.0 | TRUE | [4.2.5.0, 4.3.0.0), [4.3.3.0, ) |
| INVOKER_RIGHT_COMPILE | Use the definer's database during compile, regardless of whether is definer or invoker right | TRUE | [4.3.5.2, ) |
| RECV_PLAIN_PASSWORD | The set password command is different in different OceanBase versions | TRUE | [4.3.5.2, ) |
| OUT_ANONYMOUS_COLLECTION_IS_ALLOW | The output parameter is returned according to the original input param
type which is not empty for inout anonymous array which used in anonymous block | TRUE | [4.2.5.5, 4.3.0.0), [4.3.5.3, ) |
| IMPLICIT_FIRST_CENTURY_YEAR | The result of cast('x-xx-xx', date) is different in ob and MySQL | TRUE | [4.2.5.5, 4.3.0.0), [4.3.5.4, ) |
| PLSQL_CAN_TRANSFORM_SQL_TO_ASSIGN | Whether can transform the PL/SQL select into from dual statement to an assignment statement | TRUE | [4.4.2.0, ) |
| EXTERNAL_COLUMN_NAME_CASE_INSENSITIVE | Whether column name mapping in Parquet/ORC file is case insensitive | TRUE | [4.5.0.0, ) |
| DEFAULT_CSV_ESCAPE_CHAR_IS_NONE | Whether the default CSV escape character is none | TRUE | [4.5.1.0, ) |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+---------------------------------+
13 rows in set (0.012 sec)