This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.1 by this push:
new d4d1b5fbd76 branch-4.1: [fix](regression) Make Iceberg rewrite where
init script idempotent #63673 (#63753)
d4d1b5fbd76 is described below
commit d4d1b5fbd76755b0db1278765c63a3f32fbffeee
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu May 28 13:40:27 2026 +0800
branch-4.1: [fix](regression) Make Iceberg rewrite where init script
idempotent #63673 (#63753)
Cherry-picked from #63673
Co-authored-by: Socrates <[email protected]>
---
.../scripts/create_preinstalled_scripts/iceberg/run21.sql | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git
a/docker/thirdparties/docker-compose/iceberg/scripts/create_preinstalled_scripts/iceberg/run21.sql
b/docker/thirdparties/docker-compose/iceberg/scripts/create_preinstalled_scripts/iceberg/run21.sql
index e7873d468ad..4af60fed6ba 100644
---
a/docker/thirdparties/docker-compose/iceberg/scripts/create_preinstalled_scripts/iceberg/run21.sql
+++
b/docker/thirdparties/docker-compose/iceberg/scripts/create_preinstalled_scripts/iceberg/run21.sql
@@ -8,7 +8,8 @@ use demo.test_db;
--
=====================================================================================
-- Table 1: For baseline test (rewrite without WHERE condition)
-CREATE TABLE IF NOT EXISTS test_rewrite_where_conditions_baseline (
+DROP TABLE IF EXISTS test_rewrite_where_conditions_baseline;
+CREATE TABLE test_rewrite_where_conditions_baseline (
id BIGINT,
name STRING,
age INT,
@@ -56,7 +57,8 @@ INSERT INTO test_rewrite_where_conditions_baseline VALUES
(30, 'Dana', 49, 99000.0);
-- Table 2: For test with WHERE condition matching subset (id >= 11 AND id <=
20)
-CREATE TABLE IF NOT EXISTS test_rewrite_where_conditions_with_where (
+DROP TABLE IF EXISTS test_rewrite_where_conditions_with_where;
+CREATE TABLE test_rewrite_where_conditions_with_where (
id BIGINT,
name STRING,
age INT,
@@ -104,7 +106,8 @@ INSERT INTO test_rewrite_where_conditions_with_where VALUES
(30, 'Dana', 49, 99000.0);
-- Table 3: For test with WHERE condition matching no data (id = 99999)
-CREATE TABLE IF NOT EXISTS test_rewrite_where_conditions_no_match (
+DROP TABLE IF EXISTS test_rewrite_where_conditions_no_match;
+CREATE TABLE test_rewrite_where_conditions_no_match (
id BIGINT,
name STRING,
age INT,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]