hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject [1/2] incubator-hawq git commit: HAWQ-621. Adding test changes in alter_table_optimizer.out for fixing tuple descriptor leak in split_rows during an ALTER TABLE SPLIT PARTITION.
Date Thu, 07 Apr 2016 02:55:59 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master e0c96582e -> af11648c4


HAWQ-621. Adding test changes in alter_table_optimizer.out for fixing tuple descriptor leak
in split_rows during an ALTER TABLE SPLIT PARTITION.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/af11648c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/af11648c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/af11648c

Branch: refs/heads/master
Commit: af11648c45af848d5e2588f72e082f95ce2419bb
Parents: 228f6e8
Author: Foyzur Rahman <foyzur@gmail.com>
Authored: Fri Apr 1 12:03:04 2016 -0700
Committer: Ming LI <mli@pivotal.io>
Committed: Thu Apr 7 10:55:15 2016 +0800

----------------------------------------------------------------------
 .../regress/expected/alter_table_optimizer.out  | 24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/af11648c/src/test/regress/expected/alter_table_optimizer.out
----------------------------------------------------------------------
diff --git a/src/test/regress/expected/alter_table_optimizer.out b/src/test/regress/expected/alter_table_optimizer.out
index 7172f50..3e3c2c1 100644
--- a/src/test/regress/expected/alter_table_optimizer.out
+++ b/src/test/regress/expected/alter_table_optimizer.out
@@ -2163,3 +2163,27 @@ NOTICE:  drop cascades to constraint testbug_char5_1_prt_part201204_check
on app
 NOTICE:  drop cascades to append only columnar table mpp17582.testbug_char5_1_prt_part201203
 NOTICE:  drop cascades to constraint testbug_char5_1_prt_part201203_check on append only
columnar table mpp17582.testbug_char5_1_prt_part201203
 NOTICE:  drop cascades to table mpp17582.testbug_char5
+-- Test for tuple descriptor leak during row splitting
+DROP TABLE IF EXISTS split_tupdesc_leak;
+NOTICE:  table "split_tupdesc_leak" does not exist, skipping
+CREATE TABLE split_tupdesc_leak
+(
+   ym character varying(6) NOT NULL,
+   suid character varying(50) NOT NULL,
+   genre_ids character varying(20)[]
+) 
+WITH (APPENDONLY=true, ORIENTATION=row, COMPRESSTYPE=zlib, OIDS=FALSE)
+DISTRIBUTED BY (suid)
+PARTITION BY LIST(ym)
+(
+	DEFAULT PARTITION p_split_tupdesc_leak_ym  WITH (appendonly=true, orientation=row, compresstype=zlib)
+);
+NOTICE:  CREATE TABLE will create partition "split_tupdesc_leak_1_prt_p_split_tupdesc_leak_ym"
for table "split_tupdesc_leak"
+INSERT INTO split_tupdesc_leak VALUES ('201412','0001EC1TPEvT5SaJKIR5yYXlFQ7tS','{0}');
+ALTER TABLE split_tupdesc_leak SPLIT DEFAULT PARTITION AT ('201412')
+	INTO (PARTITION p_split_tupdesc_leak_ym, PARTITION p_split_tupdesc_leak_ym_201412);
+NOTICE:  exchanged partition "p_split_tupdesc_leak_ym" of relation "split_tupdesc_leak" with
relation "pg_temp_323542"
+NOTICE:  dropped partition "p_split_tupdesc_leak_ym" for relation "split_tupdesc_leak"
+NOTICE:  CREATE TABLE will create partition "split_tupdesc_leak_1_prt_p_split_tupdesc_leak_ym_201412"
for table "split_tupdesc_leak"
+NOTICE:  CREATE TABLE will create partition "split_tupdesc_leak_1_prt_p_split_tupdesc_leak_ym"
for table "split_tupdesc_leak"
+DROP TABLE split_tupdesc_leak;


Mime
View raw message