This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new dc916d50a13 branch-3.1: [fix](test) remove lakesoul test cases #58439
(#58596)
dc916d50a13 is described below
commit dc916d50a132d0b5f4178ed87f260befe6c1f83a
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Tue Dec 2 14:31:39 2025 +0800
branch-3.1: [fix](test) remove lakesoul test cases #58439 (#58596)
bp #58439
---
.../lakesoul/test_lakesoul_catalog.groovy | 39 ------------
.../lakesoul/test_lakesoul_filter.groovy | 74 ----------------------
.../lakesoul/test_external_table_lakesoul.groovy | 60 ------------------
3 files changed, 173 deletions(-)
diff --git
a/regression-test/suites/external_table_p0/lakesoul/test_lakesoul_catalog.groovy
b/regression-test/suites/external_table_p0/lakesoul/test_lakesoul_catalog.groovy
deleted file mode 100644
index e0b8a924c30..00000000000
---
a/regression-test/suites/external_table_p0/lakesoul/test_lakesoul_catalog.groovy
+++ /dev/null
@@ -1,39 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-
-suite("test_lakesoul_catalog",
"p0,external,doris,external_docker,external_docker_doris") {
- def enabled = false;
- // open it when docker image is ready to run in regression test
- if (enabled) {
- String catalog_name = "lakesoul"
- String db_name = "default"
-
- sql """drop catalog if exists ${catalog_name}"""
- sql """
- create catalog lakesoul properties
('type'='lakesoul','lakesoul.pg.username'='lakesoul_test','lakesoul.pg.password'='lakesoul_test','lakesoul.pg.url'='jdbc:postgresql://127.0.0.1:5432/lakesoul_test?stringtype=unspecified');"""
-
- // analyze
- sql """use `${catalog_name}`.`${db_name}`"""
-
- sq """show tables;"""
- // select
- sql """select * from nation;"""
-
- sql """show create table nation;"""
- }
-}
-
diff --git
a/regression-test/suites/external_table_p0/lakesoul/test_lakesoul_filter.groovy
b/regression-test/suites/external_table_p0/lakesoul/test_lakesoul_filter.groovy
deleted file mode 100644
index 01c5d981c49..00000000000
---
a/regression-test/suites/external_table_p0/lakesoul/test_lakesoul_filter.groovy
+++ /dev/null
@@ -1,74 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-
-suite("test_lakesoul_filter",
"p0,external,doris,external_docker,external_docker_doris") {
- String enabled = context.config.otherConfigs.get("enableLakesoulTest")
- // open it when docker image is ready to run in regression test
- if (enabled != null && enabled.equalsIgnoreCase("true")) {
- String catalog_name = "lakesoul"
- String db_name = "default"
- String pg_user = context.config.otherConfigs.get("lakesoulPGUser")
- String pg_pwd = context.config.otherConfigs.get("lakesoulPGPwd")
- String pg_url = context.config.otherConfigs.get("lakesoulPGUrl")
- String minio_ak = context.config.otherConfigs.get("lakesoulMinioAK")
- String minio_sk = context.config.otherConfigs.get("lakesoulMinioSK")
- String minio_endpoint =
context.config.otherConfigs.get("lakesoulMinioEndpoint")
-
- sql """drop catalog if exists ${catalog_name}"""
- sql """create catalog lakesoul properties (
- 'type'='lakesoul',
- 'lakesoul.pg.username'='${pg_user}',
- 'lakesoul.pg.password'='${pg_pwd}',
- 'lakesoul.pg.url'='${pg_url}',
- 'minio.endpoint'='${minio_endpoint}',
- 'minio.access_key'='${minio_ak}',
- 'minio.secret_key'='${minio_sk}'
- );"""
-
- // analyze
- sql """use `${catalog_name}`.`${db_name}`"""
-
- sql """show tables;"""
- // select
- sql """select * from region;"""
-
- sql """select * from nation;"""
-
- sql """select * from nation where n_regionkey = 0 or n_nationkey >
14;"""
-
- sql """select * from nation where n_regionkey = 0 and n_nationkey >
0;"""
-
- sql """select * from nation where n_regionkey = 0;"""
-
- // non-selecting query
- sql """select count(*) from customer;"""
-
- // filter by non-partition column
- sql """select count(*) from customer where c_mktsegment='BUILDING';"""
-
- // filter by partition column
- sql """select count(*) from customer where c_nationkey=19;"""
-
- // filter by both partition and non-partition column
- sql """select count(*) from customer where c_mktsegment='BUILDING' and
c_nationkey=19;"""
-
- sql """select * from lineitem where l_shipdate <= DATE '1992-12-01'
limit 10;"""
-
- sql """select count(*) from part where p_type like 'MEDIUM
POLISHED%';"""
- }
-}
-
diff --git
a/regression-test/suites/external_table_p2/lakesoul/test_external_table_lakesoul.groovy
b/regression-test/suites/external_table_p2/lakesoul/test_external_table_lakesoul.groovy
deleted file mode 100644
index 6a1f83a5e24..00000000000
---
a/regression-test/suites/external_table_p2/lakesoul/test_external_table_lakesoul.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-
-suite("test_external_table_lakesoul",
"p2,external,lakesoul,external_remote,external_remote_lakesoul") {
- String enabled = context.config.otherConfigs.get("enablelakesoulTest")
- // query data test
- def q1 = """ select count(*) from region; """
- def q11 = """ select count(*) from nation; """
- // data test
- def q2 = """ select * from nation order by n_name; """
- def q3 = """ select * from nation order by n_name limit 2; """
- def q9 = """ select * from lineitem limit 2; """ // mutil types
- // test partition table filter
- def q4 = """ select * from supplier where s_nationkey = 1 limit 2;
"""
- def q5 = """ select * from supplier where s_nationkey < 2 limit 2;
"""
- def q6 = """ select * from nation where n_name = 'CHINA' or n_name
like 'C%'; """
-
- def q7 = """ select * from nation,region where n_nationkey =
r_regionkey; """
- def q8 = """ select count(*) from region group by r_regionkey; """
-
-
- if (enabled != null && enabled.equalsIgnoreCase("true")) {
- String catalog_name = "lakesoul"
- String db_name = "default"
-
- sql """drop catalog if exists ${catalog_name}"""
- sql """
- create catalog lakesoul properties
('type'='lakesoul','lakesoul.pg.username'='lakesoul','lakesoul.pg.url'='jdbc:postgresql://127.0.0.1:5433/lakesoul_test?stringtype=unspecified');
- """
-
- // analyze
- sql """use `${catalog_name}`.`${db_name}`"""
-
- sql q1
- sql q2
- sql q3
- sql q4
- sql q5
- sql q6
- sql q7
- sql q8
- sql q9
- sql q11
-
- }
-}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]