This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 3c186515243 Revert "[test](regression) add regression test for schange
change of complex …" (#31661)
3c186515243 is described below
commit 3c1865152435c4ffacde9cd3ad4722e7ea2360bc
Author: Ashin Gau <[email protected]>
AuthorDate: Fri Mar 1 18:24:20 2024 +0800
Revert "[test](regression) add regression test for schange change of
complex …" (#31661)
This reverts commit 823b2bed743eb47d4aa7d2a35939213ecb812dbc.
---
.../hive/scripts/create_preinstalled_table.hql | 14 --------------
.../suites/external_table_p0/hive/test_hive_parquet.groovy | 10 ----------
2 files changed, 24 deletions(-)
diff --git
a/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_table.hql
b/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_table.hql
index 9e51edf7d6c..e798ecd7f2b 100644
---
a/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_table.hql
+++
b/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_table.hql
@@ -1806,17 +1806,3 @@ with serdeproperties
,'seperatorChar'=',');
insert into employee_gz values ('a', '1.1'), ('b', '2.2');
-
-create database hive_schema_change;
-use hive_schema_change;
-
-create table struct_test (
- id int,
- sf struct<f1: int, f2: map<string, string>>) stored as parquet;
-
-insert into struct_test values
-(1, named_struct('f1', 1, 'f2', str_to_map('1:s2,2:s2'))),
-(2, named_struct('f1', 2, 'f2', str_to_map('k1:s3,k2:s4'))),
-(3, named_struct('f1', 3, 'f2', str_to_map('k1:s5,k2:s6')));
-
-alter table struct_test change sf sf struct<f1:int, f2: string>;
diff --git
a/regression-test/suites/external_table_p0/hive/test_hive_parquet.groovy
b/regression-test/suites/external_table_p0/hive/test_hive_parquet.groovy
index 9b9e231c30b..2daac80d71e 100644
--- a/regression-test/suites/external_table_p0/hive/test_hive_parquet.groovy
+++ b/regression-test/suites/external_table_p0/hive/test_hive_parquet.groovy
@@ -139,15 +139,6 @@ suite("test_hive_parquet",
"p0,external,hive,external_docker,external_docker_hiv
"""
}
- def q21 = {
- sql """use hive_schema_change"""
- // not support the schema change of complex type
- test {
- sql "select * from struct_test"
- exception "Wrong data type for column 'f2'"
- }
- }
-
String enabled = context.config.otherConfigs.get("enableHiveTest")
if (enabled != null && enabled.equalsIgnoreCase("true")) {
try {
@@ -184,7 +175,6 @@ suite("test_hive_parquet",
"p0,external,hive,external_docker,external_docker_hiv
q18()
q19()
q20()
- q21()
sql """explain physical plan select l_partkey from partition_table
where (nation != 'cn' or city !='beijing') and (l_quantity >
28 or l_extendedprice > 30000)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]