You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2026/02/14 02:55:15 UTC
(doris) branch branch-4.0 updated: branch-4.0: [fix](iceberg) fix unstable iceberg case #60646 (#60737)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 37df2064d2a branch-4.0: [fix](iceberg) fix unstable iceberg case #60646 (#60737)
37df2064d2a is described below
commit 37df2064d2ac27c2569afd5e8a77612e82bf4173
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sat Feb 14 10:55:08 2026 +0800
branch-4.0: [fix](iceberg) fix unstable iceberg case #60646 (#60737)
Cherry-picked from #60646
Co-authored-by: Socrates <su...@selectdb.com>
---
.../iceberg/test_iceberg_sys_table.groovy | 29 ++++++++++++++++------
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/regression-test/suites/external_table_p0/iceberg/test_iceberg_sys_table.groovy b/regression-test/suites/external_table_p0/iceberg/test_iceberg_sys_table.groovy
index 9f5c135712c..b9aeac157f9 100644
--- a/regression-test/suites/external_table_p0/iceberg/test_iceberg_sys_table.groovy
+++ b/regression-test/suites/external_table_p0/iceberg/test_iceberg_sys_table.groovy
@@ -271,14 +271,27 @@ suite("test_iceberg_sys_table", "p0,external,doris,external_docker,external_dock
order_qt_select_manifests_count """select count(*) from ${systableName}"""
- List<List<Object>> res1 = sql """select * from ${systableName} order by path"""
- List<List<Object>> res2 = sql """select * from iceberg_meta(
- "table" = "${catalog_name}.${db_name}.${table}",
- "query_type" = "${systableType}") order by path"""
- assertEquals(res1.size(), res2.size());
- for (int i = 0; i < res1.size(); i++) {
- for (int j = 0; j < res1[i].size(); j++) {
- assertEquals(res1[i][j], res2[i][j]);
+ if (systableType.equals("manifests")) {
+ List<List<Object>> res1 = sql """select * from ${systableName} order by path"""
+ List<List<Object>> res2 = sql """select * from iceberg_meta(
+ "table" = "${catalog_name}.${db_name}.${table}",
+ "query_type" = "${systableType}") order by path"""
+ assertEquals(res1.size(), res2.size());
+ for (int i = 0; i < res1.size(); i++) {
+ for (int j = 0; j < res1[i].size(); j++) {
+ assertEquals(res1[i][j], res2[i][j]);
+ }
+ }
+ } else {
+ List<List<Object>> res1 = sql """select * from ${systableName} order by path, reference_snapshot_id"""
+ List<List<Object>> res2 = sql """select * from iceberg_meta(
+ "table" = "${catalog_name}.${db_name}.${table}",
+ "query_type" = "${systableType}") order by path, reference_snapshot_id"""
+ assertEquals(res1.size(), res2.size());
+ for (int i = 0; i < res1.size(); i++) {
+ for (int j = 0; j < res1[i].size(); j++) {
+ assertEquals(res1[i][j], res2[i][j]);
+ }
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org