diff --git a/src/share/inner_table/ob_inner_table_schema.12301_12350.cpp b/src/share/inner_table/ob_inner_table_schema.12301_12350.cpp index df8559c00..002cdb8a4 100644 --- a/src/share/inner_table/ob_inner_table_schema.12301_12350.cpp +++ b/src/share/inner_table/ob_inner_table_schema.12301_12350.cpp @@ -1372,9 +1372,9 @@ int ObInnerTableSchema::all_virtual_ash_schema(ObTableSchema &table_schema) 0, //rowkey_id 0, //index_id 0, //part_key_pos - ObIntType, //column_type + ObUInt64Type, //column_type CS_TYPE_INVALID, //column_collation_type - sizeof(int64_t), //column_length + sizeof(uint64_t), //column_length -1, //column_precision -1, //column_scale true, //is_nullable @@ -2401,9 +2401,9 @@ int ObInnerTableSchema::all_virtual_ash_all_virtual_ash_i1_schema(ObTableSchema 0, //rowkey_id 0, //index_id 0, //part_key_pos - ObIntType, //column_type + ObUInt64Type, //column_type CS_TYPE_INVALID, //column_collation_type - sizeof(int64_t), //column_length + sizeof(uint64_t), //column_length -1, //column_precision -1, //column_scale true,//is_nullable diff --git a/src/share/inner_table/ob_inner_table_schema.12351_12400.cpp b/src/share/inner_table/ob_inner_table_schema.12351_12400.cpp index 6d06445ed..e44649e7f 100644 --- a/src/share/inner_table/ob_inner_table_schema.12351_12400.cpp +++ b/src/share/inner_table/ob_inner_table_schema.12351_12400.cpp @@ -7331,9 +7331,9 @@ int ObInnerTableSchema::all_virtual_wr_active_session_history_schema(ObTableSche 0, //rowkey_id 0, //index_id 0, //part_key_pos - ObIntType, //column_type + ObUInt64Type, //column_type CS_TYPE_INVALID, //column_collation_type - sizeof(int64_t), //column_length + sizeof(uint64_t), //column_length -1, //column_precision -1, //column_scale true, //is_nullable diff --git a/src/share/inner_table/ob_inner_table_schema.451_500.cpp b/src/share/inner_table/ob_inner_table_schema.451_500.cpp index 49f6515cf..fc339733c 100644 --- a/src/share/inner_table/ob_inner_table_schema.451_500.cpp +++ b/src/share/inner_table/ob_inner_table_schema.451_500.cpp @@ -1365,9 +1365,9 @@ int ObInnerTableSchema::wr_active_session_history_schema(ObTableSchema &table_sc 0, //rowkey_id 0, //index_id 0, //part_key_pos - ObIntType, //column_type + ObUInt64Type, //column_type CS_TYPE_INVALID, //column_collation_type - sizeof(int64_t), //column_length + sizeof(uint64_t), //column_length -1, //column_precision -1, //column_scale true, //is_nullable diff --git a/src/share/inner_table/ob_inner_table_schema_def.py b/src/share/inner_table/ob_inner_table_schema_def.py index 64ccda76c..4fc961d88 100644 --- a/src/share/inner_table/ob_inner_table_schema_def.py +++ b/src/share/inner_table/ob_inner_table_schema_def.py @@ -5940,7 +5940,7 @@ def_table_schema( ('group_id', 'int', 'true'), ('tx_id', 'int', 'true'), ('blocking_session_id', 'int', 'true'), - ('plan_hash', 'int', 'true'), + ('plan_hash', 'uint', 'true'), ('thread_id', 'int', 'true'), ('stmt_type', 'int', 'true'), ], @@ -12462,7 +12462,7 @@ def_table_schema( ('GROUP_ID', 'int', 'true'), ('TX_ID', 'int', 'true'), ('BLOCKING_SESSION_ID', 'int', 'true'), - ('PLAN_HASH', 'int', 'true'), + ('PLAN_HASH', 'uint', 'true'), ('THREAD_ID', 'int', 'true'), ('STMT_TYPE', 'int', 'true'), ], diff --git a/tools/deploy/mysql_test/test_suite/inner_table/r/mysql/desc_virtual_table_in_mysql.result b/tools/deploy/mysql_test/test_suite/inner_table/r/mysql/desc_virtual_table_in_mysql.result index 70bd8ca23..a3b1a76f9 100644 --- a/tools/deploy/mysql_test/test_suite/inner_table/r/mysql/desc_virtual_table_in_mysql.result +++ b/tools/deploy/mysql_test/test_suite/inner_table/r/mysql/desc_virtual_table_in_mysql.result @@ -3120,7 +3120,7 @@ IN_FILTER_ROWS tinyint(4) NO 0 GROUP_ID bigint(20) YES NULL TX_ID bigint(20) YES NULL BLOCKING_SESSION_ID bigint(20) YES NULL -PLAN_HASH bigint(20) YES NULL +PLAN_HASH bigint(20) unsigned YES NULL THREAD_ID bigint(20) YES NULL STMT_TYPE bigint(20) YES NULL select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_ash; @@ -3908,7 +3908,7 @@ event_id bigint(20) YES NULL group_id bigint(20) YES NULL tx_id bigint(20) YES NULL blocking_session_id bigint(20) YES NULL -plan_hash bigint(20) YES NULL +plan_hash bigint(20) unsigned YES NULL thread_id bigint(20) YES NULL stmt_type bigint(20) YES NULL select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_wr_active_session_history; diff --git a/tools/deploy/mysql_test/test_suite/inner_table/r/mysql/desc_virtual_table_in_sys.result b/tools/deploy/mysql_test/test_suite/inner_table/r/mysql/desc_virtual_table_in_sys.result index bd34c91de..ef9f4413a 100644 --- a/tools/deploy/mysql_test/test_suite/inner_table/r/mysql/desc_virtual_table_in_sys.result +++ b/tools/deploy/mysql_test/test_suite/inner_table/r/mysql/desc_virtual_table_in_sys.result @@ -6809,7 +6809,7 @@ IN_FILTER_ROWS tinyint(4) NO 0 GROUP_ID bigint(20) YES NULL TX_ID bigint(20) YES NULL BLOCKING_SESSION_ID bigint(20) YES NULL -PLAN_HASH bigint(20) YES NULL +PLAN_HASH bigint(20) unsigned YES NULL THREAD_ID bigint(20) YES NULL STMT_TYPE bigint(20) YES NULL select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_ash; @@ -8179,7 +8179,7 @@ event_id bigint(20) YES NULL group_id bigint(20) YES NULL tx_id bigint(20) YES NULL blocking_session_id bigint(20) YES NULL -plan_hash bigint(20) YES NULL +plan_hash bigint(20) unsigned YES NULL thread_id bigint(20) YES NULL stmt_type bigint(20) YES NULL select /*+QUERY_TIMEOUT(60000000)*/ IF(count(*) >= 0, 1, 0) from oceanbase.__all_virtual_wr_active_session_history;