This is an automated email from the ASF dual-hosted git repository. eldenmoon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 4e62d50c924 (Chore)[regression-test] fix unstable output variant case (#33520) 4e62d50c924 is described below commit 4e62d50c9241376edb4f4983218a28d4177b2745 Author: lihangyu <15605149...@163.com> AuthorDate: Thu Apr 11 16:47:07 2024 +0800 (Chore)[regression-test] fix unstable output variant case (#33520) --- regression-test/data/variant_p0/compaction_sparse_column.out | 4 ++-- regression-test/suites/variant_p0/compaction_sparse_column.groovy | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/regression-test/data/variant_p0/compaction_sparse_column.out b/regression-test/data/variant_p0/compaction_sparse_column.out index 3b2ee1dbb97..1cc64db5fe9 100644 --- a/regression-test/data/variant_p0/compaction_sparse_column.out +++ b/regression-test/data/variant_p0/compaction_sparse_column.out @@ -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 diff --git a/regression-test/suites/variant_p0/compaction_sparse_column.groovy b/regression-test/suites/variant_p0/compaction_sparse_column.groovy index 366b5e9eae9..be3c003d1c8 100644 --- a/regression-test/suites/variant_p0/compaction_sparse_column.groovy +++ b/regression-test/suites/variant_p0/compaction_sparse_column.groovy @@ -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}") } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org