You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by as...@apache.org on 2024/03/01 08:05:23 UTC
(doris) branch revert-31207-test_complex_type created (now 1ebb320a852)
This is an automated email from the ASF dual-hosted git repository.
ashingau pushed a change to branch revert-31207-test_complex_type
in repository https://gitbox.apache.org/repos/asf/doris.git
at 1ebb320a852 Revert "[test](regression) add regression test for schange change of complex …"
This branch includes the following new commits:
new 1ebb320a852 Revert "[test](regression) add regression test for schange change of complex …"
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
(doris) 01/01: Revert "[test](regression) add regression test for schange change of complex …"
Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ashingau pushed a commit to branch revert-31207-test_complex_type
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 1ebb320a8521f74566582f48f29a78d540dbc002
Author: Ashin Gau <As...@users.noreply.github.com>
AuthorDate: Fri Mar 1 16:05:15 2024 +0800
Revert "[test](regression) add regression test for schange change of complex …"
This reverts commit dcd2afdb4e857791fed66a46f28ab3adc25494e1.
---
.../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 00d2a699410..9baf13020f6 100644
--- a/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_table.hql
+++ b/docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_table.hql
@@ -1937,17 +1937,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 dff86e77285..c381a3c236b 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
@@ -169,15 +169,6 @@ suite("test_hive_parquet", "p0,external,hive,external_docker,external_docker_hiv
"""
}
- def q23 = {
- 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 {
@@ -216,7 +207,6 @@ suite("test_hive_parquet", "p0,external,hive,external_docker,external_docker_hiv
q20()
q21()
q22()
- q23()
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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org