branch-2.1: [regression-test](fix) fix 'desc table' to follower assertion failure #46788 (#46819)

Cherry-picked from #46788

Co-authored-by: shuke <shuke@selectdb.com>
This commit is contained in:
github-actions[bot]
2025-01-11 22:12:20 +08:00
committed by GitHub
parent c61060935a
commit 40f3e9bb77
2 changed files with 14 additions and 14 deletions

View File

@ -1,5 +1,5 @@
-- This file is automatically generated. You should know what you did if you want to edit this
-- !sql --
-- !master_sql --
col0 bigint No true \N
col_array array<text> Yes false \N NONE
col2 int No false \N NONE
@ -7,7 +7,7 @@ col3 array<int> Yes false \N NONE
col4 map<int,int> Yes false \N NONE
col5 struct<f1:int> Yes false \N NONE
-- !sql --
-- !master_sql --
col0 bigint No true \N
col_map map<char(32),text> Yes false \N NONE
col2 int No false \N NONE
@ -15,7 +15,7 @@ col3 array<int> Yes false \N NONE
col4 map<int,int> Yes false \N NONE
col5 struct<f1:int> Yes false \N NONE
-- !sql --
-- !master_sql --
col0 bigint No true \N
col_struct struct<f1:varchar(1)> Yes false \N NONE
col2 int No false \N NONE
@ -23,21 +23,21 @@ col3 array<int> Yes false \N NONE
col4 map<int,int> Yes false \N NONE
col5 struct<f1:int> Yes false \N NONE
-- !sql --
-- !master_sql --
col0 bigint No true \N
col2 int No false \N NONE
col3 array<int> Yes false \N NONE
col4 map<int,int> Yes false \N NONE
col5 struct<f1:int> Yes false \N NONE
-- !sql --
-- !master_sql --
col0 bigint No true \N
col2 int No false \N NONE
col3 array<int> Yes false \N NONE
col4 map<int,int> Yes false \N NONE
col5 struct<f1:int> Yes false \N NONE
-- !sql --
-- !master_sql --
col0 bigint No true \N
col2 int No false \N NONE
col3 array<int> Yes false \N NONE
@ -47,7 +47,7 @@ col5 struct<f1:int> Yes false \N NONE
-- !sql_before --
1 2 [1, 2] {1:2} {"f1":1} {"a":[1,2,3]}
-- !sql --
-- !master_sql --
col0 bigint No true \N
col2 int No false \N NONE
col3 array<int> Yes false \N NONE
@ -61,7 +61,7 @@ col6 variant Yes false \N NONE
-- !sql_before --
1 2 [1, 2] {1:2} {"f1":1} {"a":[1,2,3]}
-- !sql --
-- !master_sql --
col0 bigint No true \N
col2 int No false \N NONE
col3 array<int> Yes false \N NONE
@ -75,7 +75,7 @@ col6 variant No false \N NONE
-- !sql_before --
1 2 [1, 2] {1:2} {"f1":1} {"a":[1,2,3]}
-- !sql --
-- !master_sql --
col0 bigint No true \N
col2 int No false \N NONE
col3 array<int> Yes false \N NONE
@ -89,7 +89,7 @@ col6 variant Yes false \N NONE
-- !sql_before --
1 2 [1, 2] {1:2} {"f1":1} {"a":[1,2,3]}
-- !sql --
-- !master_sql --
col0 bigint No true \N
col2 int No false \N NONE
col3 array<int> No false \N NONE
@ -103,7 +103,7 @@ col6 variant No false \N NONE
-- !sql_before --
1 2 [1, 2] {1:2} {"f1":1} {"a":[1,2,3]}
-- !sql --
-- !master_sql --
col0 bigint No true \N
col2 int No false \N NONE
col3 array<int> Yes false \N NONE
@ -117,7 +117,7 @@ col6 variant Yes false \N NONE
-- !sql_before --
1 2 [1, 2] {1:2} {"f1":1} {"a":[1,2,3]}
-- !sql --
-- !master_sql --
col0 bigint No true \N
col2 int No false \N NONE
col3 array<int> No false \N NONE

View File

@ -45,7 +45,7 @@ suite("create_nestedtypes_with_schemachange", "p0") {
}
}
// desc table
qt_sql "DESC $testTablex"
qt_master_sql "DESC $testTablex"
}
// array
@ -102,7 +102,7 @@ suite("create_nestedtypes_with_schemachange", "p0") {
}
}
// desc table
qt_sql "DESC $testTablex"
qt_master_sql "DESC $testTablex"
qt_sql_after "select * from $testTablex"
}