From 963674648aec8664da8839fc6616bee6c768c35c Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 2 Mar 2017 08:42:04 +0200 Subject: [PATCH] Remove redundant test. There is already a similar test in the 'partition' test in the main test suite. Search for "-- Sub-partition insertion" in partition.sql to find it. --- .../basic/partition/expected/mpp11341.ans | 27 ------------------- .../storage/basic/partition/sql/mpp11341.sql | 10 ------- 2 files changed, 37 deletions(-) delete mode 100644 src/test/tinc/tincrepo/mpp/gpdb/tests/storage/basic/partition/expected/mpp11341.ans delete mode 100644 src/test/tinc/tincrepo/mpp/gpdb/tests/storage/basic/partition/sql/mpp11341.sql diff --git a/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/basic/partition/expected/mpp11341.ans b/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/basic/partition/expected/mpp11341.ans deleted file mode 100644 index 18511ee1e4..0000000000 --- a/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/basic/partition/expected/mpp11341.ans +++ /dev/null @@ -1,27 +0,0 @@ -drop table if exists MPP_11341; -DROP TABLE -create table MPP_11341 (i int, j int) with (appendonly = true) -partition by range (j) -( partition aa start (0) end(1000) every(500) with(appendonly=true) -); -NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'i' as the Greenplum Database data distribution key for this table. -HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew. -NOTICE: CREATE TABLE will create partition "mpp_11341_1_prt_aa_1" for table "mpp_11341" -NOTICE: CREATE TABLE will create partition "mpp_11341_1_prt_aa_2" for table "mpp_11341" -CREATE TABLE -insert into MPP_11341 values(1,1); -INSERT 0 1 -select * from MPP_11341_1_prt_aa_1; - i | j ----+--- - 1 | 1 -(1 row) - -insert into MPP_11341_1_prt_aa_1 values(1,1); -INSERT 0 1 -select * from MPP_11341_1_prt_aa_1; - i | j ----+--- - 1 | 1 - 1 | 1 -(2 rows) diff --git a/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/basic/partition/sql/mpp11341.sql b/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/basic/partition/sql/mpp11341.sql deleted file mode 100644 index f0d04ebfaa..0000000000 --- a/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/basic/partition/sql/mpp11341.sql +++ /dev/null @@ -1,10 +0,0 @@ -drop table if exists MPP_11341; -create table MPP_11341 (i int, j int) with (appendonly = true) -partition by range (j) -( partition aa start (0) end(1000) every(500) with(appendonly=true) -); - -insert into MPP_11341 values(1,1); -select * from MPP_11341_1_prt_aa_1; -insert into MPP_11341_1_prt_aa_1 values(1,1); -select * from MPP_11341_1_prt_aa_1; -- GitLab