(Chore)[regression-test] fix unstable output variant case (#33520)
This commit is contained in:
@ -45,7 +45,7 @@
|
||||
4096
|
||||
|
||||
-- !select_all_bfcompact --
|
||||
3 {"a":1234,"point":1,"xxxx":"ddddd"}
|
||||
3 1234 \N ddddd 1 \N
|
||||
|
||||
-- !select_b --
|
||||
12291
|
||||
@ -93,5 +93,5 @@
|
||||
4096
|
||||
|
||||
-- !select_all --
|
||||
3 {"a":1234,"xxxx":"ddddd","point":1}
|
||||
3 1234 \N ddddd 1 \N
|
||||
|
||||
|
||||
@ -100,7 +100,7 @@ suite("test_compaction_sparse_column", "nonConcurrent") {
|
||||
qt_select_4_1_bfcompact """ SELECT count(cast(v['b'] as int)) FROM ${tableName} where cast(v['b'] as int) = 42003;"""
|
||||
qt_select_5_1_bfcompact """ SELECT count(cast(v['b'] as int)) FROM ${tableName} where cast(v['b'] as int) = 42004;"""
|
||||
qt_select_6_1_bfcompact """ SELECT count(cast(v['b'] as int)) FROM ${tableName} where cast(v['b'] as int) = 42005;"""
|
||||
qt_select_all_bfcompact """SELECT * from ${tableName} where (cast(v['point'] as int) = 1);"""
|
||||
qt_select_all_bfcompact """SELECT k, v['a'], v['b'], v['xxxx'], v['point'], v['ddddd'] from ${tableName} where (cast(v['point'] as int) = 1);"""
|
||||
|
||||
//TabletId,ReplicaId,BackendId,SchemaHash,Version,LstSuccessVersion,LstFailedVersion,LstFailedTime,LocalDataSize,RemoteDataSize,RowCount,State,LstConsistencyCheckTime,CheckVersion,VersionCount,PathHash,MetaUrl,CompactionStatus
|
||||
def tablets = sql_return_maparray """ show tablets from ${tableName}; """
|
||||
@ -166,7 +166,7 @@ suite("test_compaction_sparse_column", "nonConcurrent") {
|
||||
qt_select_4_1 """ SELECT count(cast(v['b'] as int)) FROM ${tableName} where cast(v['b'] as int) = 42003;"""
|
||||
qt_select_5_1 """ SELECT count(cast(v['b'] as int)) FROM ${tableName} where cast(v['b'] as int) = 42004;"""
|
||||
qt_select_6_1 """ SELECT count(cast(v['b'] as int)) FROM ${tableName} where cast(v['b'] as int) = 42005;"""
|
||||
qt_select_all """SELECT * from ${tableName} where (cast(v['point'] as int) = 1);"""
|
||||
qt_select_all """SELECT k, v['a'], v['b'], v['xxxx'], v['point'], v['ddddd'] from ${tableName} where (cast(v['point'] as int) = 1);"""
|
||||
} finally {
|
||||
// try_sql("DROP TABLE IF EXISTS ${tableName}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user