提交 1150a61c 编写于 作者: A Asim R P 提交者: Ashwin Agrawal

Avoid creating partition tables with 1000 partitions.

Also, update some answer files.
Signed-off-by: NXin Zhang <xzhang@pivotal.io>
上级 8d7e6142
......@@ -317,8 +317,6 @@ class SuspendCheckpointCrashRecovery(MPPTestCase):
def run_fault_injector_to_skip_checkpoint(self):
tinctest.logger.info('Skip Checkpointing using fault injector.')
self.fileutil.inject_fault(f='checkpoint', y='reset', seg_id=1, p=self.port, o='0')
self.fileutil.inject_fault(f='checkpoint', y='skip', seg_id=1, p=self.port, o='0')
self.fileutil.inject_fault(y = 'reset', f = 'checkpoint', r ='primary', H='ALL', m ='async', o = '0', p=self.port)
(ok, out) = self.fileutil.inject_fault(y = 'skip', f = 'checkpoint', r ='primary', H='ALL', m ='async', o = '0', p=self.port)
if not ok:
......
......@@ -69,7 +69,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hyb
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_3" for table "ck_sync1_hybrid_part1_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_4" for table "ck_sync1_hybrid_part1_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ck_sync1_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ck_sync1_hybrid_part2 (
PS_PARTKEY INTEGER,
......@@ -142,7 +142,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hyb
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_3" for table "ck_sync1_hybrid_part2_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_4" for table "ck_sync1_hybrid_part2_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ck_sync1_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ck_sync1_hybrid_part3 (
PS_PARTKEY INTEGER,
......@@ -215,7 +215,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hyb
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part3_1_prt_p2_2_prt_sp4_3_prt_3" for table "ck_sync1_hybrid_part3_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part3_1_prt_p2_2_prt_sp4_3_prt_4" for table "ck_sync1_hybrid_part3_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ck_sync1_hybrid_part3 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part3 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ck_sync1_hybrid_part4 (
PS_PARTKEY INTEGER,
......@@ -288,7 +288,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hyb
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part4_1_prt_p2_2_prt_sp4_3_prt_3" for table "ck_sync1_hybrid_part4_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part4_1_prt_p2_2_prt_sp4_3_prt_4" for table "ck_sync1_hybrid_part4_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ck_sync1_hybrid_part4 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part4 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ck_sync1_hybrid_part5 (
PS_PARTKEY INTEGER,
......@@ -361,7 +361,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hyb
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part5_1_prt_p2_2_prt_sp4_3_prt_3" for table "ck_sync1_hybrid_part5_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part5_1_prt_p2_2_prt_sp4_3_prt_4" for table "ck_sync1_hybrid_part5_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ck_sync1_hybrid_part5 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part5 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ck_sync1_hybrid_part6 (
PS_PARTKEY INTEGER,
......@@ -434,7 +434,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hyb
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part6_1_prt_p2_2_prt_sp4_3_prt_3" for table "ck_sync1_hybrid_part6_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part6_1_prt_p2_2_prt_sp4_3_prt_4" for table "ck_sync1_hybrid_part6_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ck_sync1_hybrid_part6 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part6 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ck_sync1_hybrid_part7 (
PS_PARTKEY INTEGER,
......@@ -507,7 +507,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hyb
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part7_1_prt_p2_2_prt_sp4_3_prt_3" for table "ck_sync1_hybrid_part7_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ck_sync1_hybrid_part7_1_prt_p2_2_prt_sp4_3_prt_4" for table "ck_sync1_hybrid_part7_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ck_sync1_hybrid_part7 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part7 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
DROP TABLE sync1_hybrid_part2;
DROP TABLE
......
......@@ -31,7 +31,7 @@ INSERT 0 5
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region2 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region2 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -42,7 +42,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region2 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region2 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -60,8 +60,8 @@ INSERT 0 5
--
select * from sync1_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -70,8 +70,8 @@ select * from sync1_region order by r_regionkey;
select * from sync1_new_region2 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -84,7 +84,7 @@ select * from sync1_new_region2 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region1 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region1 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -95,7 +95,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ck_sync1_ret_region1 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ck_sync1_ret_region1 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -113,8 +113,8 @@ INSERT 0 5
--
select * from ck_sync1_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -123,8 +123,8 @@ select * from ck_sync1_region order by r_regionkey;
select * from ck_sync1_new_region1 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......
......@@ -4,7 +4,7 @@ DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_1 cascade;
psql:/path/sql_file:1: NOTICE: table "ck_sync1_exttab_error_log_1" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CK_SYNC1: TABLE 2
......@@ -12,7 +12,7 @@ DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_2 cascade;
psql:/path/sql_file:1: NOTICE: table "ck_sync1_exttab_error_log_2" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CK_SYNC1: TABLE 3
......@@ -20,7 +20,7 @@ DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_3 cascade;
psql:/path/sql_file:1: NOTICE: table "ck_sync1_exttab_error_log_3" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_3( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CK_SYNC1: TABLE 4
......@@ -28,7 +28,7 @@ DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_4 cascade;
psql:/path/sql_file:1: NOTICE: table "ck_sync1_exttab_error_log_4" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_4( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CK_SYNC1: TABLE 5
......@@ -36,7 +36,7 @@ DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_5 cascade;
psql:/path/sql_file:1: NOTICE: table "ck_sync1_exttab_error_log_5" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_5( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CK_SYNC1: TABLE 6
......@@ -44,7 +44,7 @@ DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_6 cascade;
psql:/path/sql_file:1: NOTICE: table "ck_sync1_exttab_error_log_6" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_6( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CK_SYNC1: TABLE 7
......@@ -52,7 +52,7 @@ DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_7 cascade;
psql:/path/sql_file:1: NOTICE: table "ck_sync1_exttab_error_log_7" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_7( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- Generate error logs on tables created in SYNC1
......
......@@ -30,7 +30,7 @@ subpartition sp4 start('5675') )
);
COPY ck_sync1_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -63,7 +63,7 @@ subpartition sp4 start('5675') )
);
COPY ck_sync1_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
CREATE TABLE ck_sync1_hybrid_part3 (
......@@ -95,7 +95,7 @@ subpartition sp4 start('5675') )
);
COPY ck_sync1_hybrid_part3 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part3 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -130,7 +130,7 @@ subpartition sp4 start('5675') )
);
COPY ck_sync1_hybrid_part4 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part4 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
CREATE TABLE ck_sync1_hybrid_part5 (
......@@ -162,7 +162,7 @@ subpartition sp4 start('5675') )
);
COPY ck_sync1_hybrid_part5 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part5 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -195,7 +195,7 @@ subpartition sp4 start('5675') )
);
COPY ck_sync1_hybrid_part6 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part6 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -228,7 +228,7 @@ subpartition sp4 start('5675') )
);
COPY ck_sync1_hybrid_part7 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ck_sync1_hybrid_part7 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......
......@@ -31,7 +31,7 @@ insert into ck_sync1_region select * from ck_sync1_e_region;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region2 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region2 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -40,7 +40,7 @@ INSERT INTO sync1_wet_region2 SELECT * FROM sync1_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region2 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region2 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -63,7 +63,7 @@ select * from sync1_new_region2 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region1 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region1 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -72,7 +72,7 @@ INSERT INTO ck_sync1_wet_region1 SELECT * FROM ck_sync1_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ck_sync1_ret_region1 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ck_sync1_ret_region1 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......
......@@ -4,49 +4,49 @@
DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_1 cascade;
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CK_SYNC1: TABLE 2
DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_2 cascade;
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CK_SYNC1: TABLE 3
DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_3 cascade;
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_3( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CK_SYNC1: TABLE 4
DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_4 cascade;
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_4( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CK_SYNC1: TABLE 5
DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_5 cascade;
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_5( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CK_SYNC1: TABLE 6
DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_6 cascade;
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_6( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CK_SYNC1: TABLE 7
DROP EXTERNAL TABLE IF EXISTS ck_sync1_exttab_error_log_7 cascade;
CREATE EXTERNAL TABLE ck_sync1_exttab_error_log_7( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
......
......@@ -4,14 +4,13 @@ SET gp_create_table_random_default_distribution=off;
reindex database gptest;
vacuum full;
create table ck_sync1_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(1000) every(1));
create table ck_sync1_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(1000) every(1));
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (100);
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (101);
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (102);
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (103);
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (104);
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (105);
create table ck_sync1_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(10) every(1));
create table ck_sync1_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(10) every(1));
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (1);
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (2);
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (3);
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (4);
alter table ck_sync1_reindex_vacuum_full_test2 drop partition for (5);
drop table ck_sync1_reindex_vacuum_full_test1;
create table ck_sync1_reindex_vacuum_full_test3(i int);
......
......@@ -69,7 +69,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_pa
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_3" for table "ct_hybrid_part1_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_4" for table "ct_hybrid_part1_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ct_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ct_hybrid_part2 (
PS_PARTKEY INTEGER,
......@@ -142,7 +142,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_pa
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_3" for table "ct_hybrid_part2_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_4" for table "ct_hybrid_part2_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ct_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ct_hybrid_part3 (
PS_PARTKEY INTEGER,
......@@ -215,7 +215,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_pa
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part3_1_prt_p2_2_prt_sp4_3_prt_3" for table "ct_hybrid_part3_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part3_1_prt_p2_2_prt_sp4_3_prt_4" for table "ct_hybrid_part3_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ct_hybrid_part3 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part3 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ct_hybrid_part4 (
PS_PARTKEY INTEGER,
......@@ -288,7 +288,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_pa
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part4_1_prt_p2_2_prt_sp4_3_prt_3" for table "ct_hybrid_part4_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part4_1_prt_p2_2_prt_sp4_3_prt_4" for table "ct_hybrid_part4_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ct_hybrid_part4 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part4 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE ct_hybrid_part5 (
PS_PARTKEY INTEGER,
......@@ -361,7 +361,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_pa
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part5_1_prt_p2_2_prt_sp4_3_prt_3" for table "ct_hybrid_part5_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "ct_hybrid_part5_1_prt_p2_2_prt_sp4_3_prt_4" for table "ct_hybrid_part5_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY ct_hybrid_part5 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part5 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
DROP TABLE sync1_hybrid_part4;
DROP TABLE
......
......@@ -31,7 +31,7 @@ INSERT 0 5
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region4 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region4 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -42,7 +42,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region4 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region4 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -60,8 +60,8 @@ INSERT 0 5
--
select * from sync1_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -70,8 +70,8 @@ select * from sync1_region order by r_regionkey;
select * from sync1_new_region4 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -84,7 +84,7 @@ select * from sync1_new_region4 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region3 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region3 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -95,7 +95,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ck_sync1_ret_region3 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ck_sync1_ret_region3 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -113,8 +113,8 @@ INSERT 0 5
--
select * from ck_sync1_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -123,8 +123,8 @@ select * from ck_sync1_region order by r_regionkey;
select * from ck_sync1_new_region3 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -137,7 +137,7 @@ select * from ck_sync1_new_region3 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ct_wet_region1 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ct_wet_region1 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -148,7 +148,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ct_ret_region1 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ct_ret_region1 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -166,8 +166,8 @@ INSERT 0 5
--
select * from ct_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -176,8 +176,8 @@ select * from ct_region order by r_regionkey;
select * from ct_new_region1 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......
......@@ -3,35 +3,35 @@
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_1 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ct_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CT: TABLE 2
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_2 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ct_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CT: TABLE 3
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_3 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ct_exttab_error_log_3( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CT: TABLE 4
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_4 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ct_exttab_error_log_4( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- CT: TABLE 5
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_5 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE ct_exttab_error_log_5( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- Generate error logs on tables created in SYNC1
......
......@@ -30,7 +30,7 @@ subpartition sp4 start('5675') )
);
COPY ct_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -63,7 +63,7 @@ subpartition sp4 start('5675') )
);
COPY ct_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
CREATE TABLE ct_hybrid_part3 (
......@@ -95,7 +95,7 @@ subpartition sp4 start('5675') )
);
COPY ct_hybrid_part3 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part3 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -130,7 +130,7 @@ subpartition sp4 start('5675') )
);
COPY ct_hybrid_part4 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part4 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
CREATE TABLE ct_hybrid_part5 (
......@@ -162,7 +162,7 @@ subpartition sp4 start('5675') )
);
COPY ct_hybrid_part5 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY ct_hybrid_part5 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......
......@@ -31,7 +31,7 @@ insert into ct_region select * from ct_e_region;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region4 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region4 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -40,7 +40,7 @@ INSERT INTO sync1_wet_region4 SELECT * FROM sync1_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region4 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region4 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -62,7 +62,7 @@ select * from sync1_new_region4 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region3 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region3 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -71,7 +71,7 @@ INSERT INTO ck_sync1_wet_region3 SELECT * FROM ck_sync1_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ck_sync1_ret_region3 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ck_sync1_ret_region3 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -94,7 +94,7 @@ select * from ck_sync1_new_region3 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ct_wet_region1 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ct_wet_region1 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -103,7 +103,7 @@ INSERT INTO ct_wet_region1 SELECT * FROM ct_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ct_ret_region1 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ct_ret_region1 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......
......@@ -4,35 +4,35 @@
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_1 cascade;
CREATE EXTERNAL TABLE ct_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CT: TABLE 2
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_2 cascade;
CREATE EXTERNAL TABLE ct_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CT: TABLE 3
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_3 cascade;
CREATE EXTERNAL TABLE ct_exttab_error_log_3( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CT: TABLE 4
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_4 cascade;
CREATE EXTERNAL TABLE ct_exttab_error_log_4( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- CT: TABLE 5
DROP EXTERNAL TABLE IF EXISTS ct_exttab_error_log_5 cascade;
CREATE EXTERNAL TABLE ct_exttab_error_log_5( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- Generate error logs on tables created in SYNC1
......
......@@ -4,14 +4,13 @@ SET gp_create_table_random_default_distribution=off;
reindex database gptest;
vacuum full;
create table ct_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(1000) every(1));
create table ct_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(1000) every(1));
alter table ct_reindex_vacuum_full_test2 drop partition for (100);
alter table ct_reindex_vacuum_full_test2 drop partition for (101);
alter table ct_reindex_vacuum_full_test2 drop partition for (102);
alter table ct_reindex_vacuum_full_test2 drop partition for (103);
alter table ct_reindex_vacuum_full_test2 drop partition for (104);
alter table ct_reindex_vacuum_full_test2 drop partition for (105);
create table ct_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(10) every(1));
create table ct_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(10) every(1));
alter table ct_reindex_vacuum_full_test2 drop partition for (1);
alter table ct_reindex_vacuum_full_test2 drop partition for (2);
alter table ct_reindex_vacuum_full_test2 drop partition for (3);
alter table ct_reindex_vacuum_full_test2 drop partition for (4);
alter table ct_reindex_vacuum_full_test2 drop partition for (5);
drop table ct_reindex_vacuum_full_test1;
create table ct_reindex_vacuum_full_test3(i int);
......
......@@ -69,7 +69,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "resync_hybri
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "resync_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_3" for table "resync_hybrid_part1_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "resync_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_4" for table "resync_hybrid_part1_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY resync_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY resync_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE resync_hybrid_part2 (
PS_PARTKEY INTEGER,
......@@ -142,7 +142,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "resync_hybri
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "resync_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_3" for table "resync_hybrid_part2_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "resync_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_4" for table "resync_hybrid_part2_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY resync_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY resync_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE resync_hybrid_part3 (
PS_PARTKEY INTEGER,
......@@ -215,7 +215,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "resync_hybri
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "resync_hybrid_part3_1_prt_p2_2_prt_sp4_3_prt_3" for table "resync_hybrid_part3_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "resync_hybrid_part3_1_prt_p2_2_prt_sp4_3_prt_4" for table "resync_hybrid_part3_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY resync_hybrid_part3 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY resync_hybrid_part3 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
DROP TABLE sync1_hybrid_part6;
DROP TABLE
......
......@@ -31,7 +31,7 @@ INSERT 0 5
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region6 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region6 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -42,7 +42,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region6 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region6 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -60,8 +60,8 @@ INSERT 0 5
--
select * from sync1_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -70,8 +70,8 @@ select * from sync1_region order by r_regionkey;
select * from sync1_new_region6 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -84,7 +84,7 @@ select * from sync1_new_region6 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region5 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region5.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region5 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region5.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -95,7 +95,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ck_sync1_ret_region5 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region5.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ck_sync1_ret_region5 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region5.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -113,8 +113,8 @@ INSERT 0 5
--
select * from ck_sync1_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -123,8 +123,8 @@ select * from ck_sync1_region order by r_regionkey;
select * from ck_sync1_new_region5 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -138,7 +138,7 @@ select * from ck_sync1_new_region5 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ct_wet_region3 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ct_wet_region3 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -149,7 +149,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ct_ret_region3 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ct_ret_region3 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -167,8 +167,8 @@ INSERT 0 5
--
select * from ct_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -177,8 +177,8 @@ select * from ct_region order by r_regionkey;
select * from ct_new_region3 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -191,7 +191,7 @@ select * from ct_new_region3 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE resync_wet_region1 ( like resync_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE resync_wet_region1 ( like resync_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -202,7 +202,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE resync_ret_region1 ( like resync_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE resync_ret_region1 ( like resync_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -220,8 +220,8 @@ INSERT 0 5
--
select * from resync_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -230,8 +230,8 @@ select * from resync_region order by r_regionkey;
select * from resync_new_region1 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......
......@@ -4,7 +4,7 @@ DROP EXTERNAL TABLE IF EXISTS resync_exttab_error_log_1 cascade;
psql:/path/sql_file:1: NOTICE: table "resync_exttab_error_log_1" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE resync_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- RESYNC: TABLE 2
......@@ -12,7 +12,7 @@ DROP EXTERNAL TABLE IF EXISTS resync_exttab_error_log_2 cascade;
psql:/path/sql_file:1: NOTICE: table "resync_exttab_error_log_2" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE resync_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- RESYNC: TABLE 3
......@@ -20,7 +20,7 @@ DROP EXTERNAL TABLE IF EXISTS resync_exttab_error_log_3 cascade;
psql:/path/sql_file:1: NOTICE: table "resync_exttab_error_log_3" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE resync_exttab_error_log_3( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- Generate error logs on tables created in SYNC1
......
......@@ -30,7 +30,7 @@ subpartition sp4 start('5675') )
);
COPY resync_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY resync_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -63,7 +63,7 @@ subpartition sp4 start('5675') )
);
COPY resync_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY resync_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
CREATE TABLE resync_hybrid_part3 (
......@@ -95,7 +95,7 @@ subpartition sp4 start('5675') )
);
COPY resync_hybrid_part3 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY resync_hybrid_part3 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
DROP TABLE sync1_hybrid_part6;
......
......@@ -31,7 +31,7 @@ insert into resync_region select * from resync_e_region;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region6 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region6 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -40,7 +40,7 @@ INSERT INTO sync1_wet_region6 SELECT * FROM sync1_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region6 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region6 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -62,7 +62,7 @@ select * from sync1_new_region6 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region5 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region5.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region5 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region5.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -71,7 +71,7 @@ INSERT INTO ck_sync1_wet_region5 SELECT * FROM ck_sync1_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ck_sync1_ret_region5 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region5.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ck_sync1_ret_region5 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region5.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -93,7 +93,7 @@ select * from ck_sync1_new_region5 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ct_wet_region3 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ct_wet_region3 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -102,7 +102,7 @@ INSERT INTO ct_wet_region3 SELECT * FROM ct_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ct_ret_region3 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ct_ret_region3 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region3.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -124,7 +124,7 @@ select * from ct_new_region3 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE resync_wet_region1 ( like resync_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE resync_wet_region1 ( like resync_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -133,7 +133,7 @@ INSERT INTO resync_wet_region1 SELECT * FROM resync_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE resync_ret_region1 ( like resync_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE resync_ret_region1 ( like resync_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......
......@@ -4,21 +4,21 @@
DROP EXTERNAL TABLE IF EXISTS resync_exttab_error_log_1 cascade;
CREATE EXTERNAL TABLE resync_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- RESYNC: TABLE 2
DROP EXTERNAL TABLE IF EXISTS resync_exttab_error_log_2 cascade;
CREATE EXTERNAL TABLE resync_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- RESYNC: TABLE 3
DROP EXTERNAL TABLE IF EXISTS resync_exttab_error_log_3 cascade;
CREATE EXTERNAL TABLE resync_exttab_error_log_3( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- Generate error logs on tables created in SYNC1
......
......@@ -4,14 +4,13 @@ SET gp_create_table_random_default_distribution=off;
reindex database gptest;
vacuum full;
create table resync_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(1000) every(1));
create table resync_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(1000) every(1));
alter table resync_reindex_vacuum_full_test2 drop partition for (100);
alter table resync_reindex_vacuum_full_test2 drop partition for (101);
alter table resync_reindex_vacuum_full_test2 drop partition for (102);
alter table resync_reindex_vacuum_full_test2 drop partition for (103);
alter table resync_reindex_vacuum_full_test2 drop partition for (104);
alter table resync_reindex_vacuum_full_test2 drop partition for (105);
create table resync_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(10) every(1));
create table resync_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(10) every(1));
alter table resync_reindex_vacuum_full_test2 drop partition for (1);
alter table resync_reindex_vacuum_full_test2 drop partition for (2);
alter table resync_reindex_vacuum_full_test2 drop partition for (3);
alter table resync_reindex_vacuum_full_test2 drop partition for (4);
alter table resync_reindex_vacuum_full_test2 drop partition for (5);
drop table resync_reindex_vacuum_full_test1;
create table resync_reindex_vacuum_full_test3(i int);
......
......@@ -69,7 +69,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync1_hybrid_part1_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync1_hybrid_part1_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync1_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE sync1_hybrid_part2 (
PS_PARTKEY INTEGER,
......@@ -142,7 +142,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync1_hybrid_part2_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync1_hybrid_part2_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync1_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE sync1_hybrid_part3 (
PS_PARTKEY INTEGER,
......@@ -215,7 +215,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part3_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync1_hybrid_part3_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part3_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync1_hybrid_part3_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync1_hybrid_part3 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part3 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE sync1_hybrid_part4 (
PS_PARTKEY INTEGER,
......@@ -288,7 +288,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part4_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync1_hybrid_part4_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part4_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync1_hybrid_part4_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync1_hybrid_part4 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part4 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE sync1_hybrid_part5 (
PS_PARTKEY INTEGER,
......@@ -361,7 +361,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part5_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync1_hybrid_part5_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part5_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync1_hybrid_part5_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync1_hybrid_part5 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part5 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE sync1_hybrid_part6 (
PS_PARTKEY INTEGER,
......@@ -434,7 +434,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part6_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync1_hybrid_part6_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part6_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync1_hybrid_part6_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync1_hybrid_part6 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part6 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE sync1_hybrid_part7 (
PS_PARTKEY INTEGER,
......@@ -507,7 +507,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part7_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync1_hybrid_part7_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part7_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync1_hybrid_part7_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync1_hybrid_part7 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part7 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE sync1_hybrid_part8 (
PS_PARTKEY INTEGER,
......@@ -580,7 +580,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part8_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync1_hybrid_part8_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync1_hybrid_part8_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync1_hybrid_part8_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync1_hybrid_part8 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part8 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
DROP TABLE sync1_hybrid_part1;
DROP TABLE
......@@ -31,7 +31,7 @@ INSERT 0 5
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region1 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region1 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -42,7 +42,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region1 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region1 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -60,8 +60,8 @@ INSERT 0 5
--
select * from sync1_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -70,8 +70,8 @@ select * from sync1_region order by r_regionkey;
select * from sync1_new_region1 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......
......@@ -3,56 +3,56 @@
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_1 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync1_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- SYNC1: TABLE 2
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_2 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync1_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- SYNC1: TABLE 3
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_3 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync1_exttab_error_log_3( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- SYNC1: TABLE 4
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_4 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync1_exttab_error_log_4( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- SYNC1: TABLE 5
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_5 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync1_exttab_error_log_5( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- SYNC1: TABLE 6
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_6 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync1_exttab_error_log_6( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- SYNC1: TABLE 7
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_7 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync1_exttab_error_log_7( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- SYNC1: TABLE 8
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_8 cascade;
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync1_exttab_error_log_8( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
CREATE EXTERNAL TABLE
-- Generate error logs on tables created in SYNC1
......
......@@ -30,7 +30,7 @@ subpartition sp4 start('5675') )
);
COPY sync1_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -63,7 +63,7 @@ subpartition sp4 start('5675') )
);
COPY sync1_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
CREATE TABLE sync1_hybrid_part3 (
......@@ -95,7 +95,7 @@ subpartition sp4 start('5675') )
);
COPY sync1_hybrid_part3 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part3 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -130,7 +130,7 @@ subpartition sp4 start('5675') )
);
COPY sync1_hybrid_part4 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part4 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
CREATE TABLE sync1_hybrid_part5 (
......@@ -162,7 +162,7 @@ subpartition sp4 start('5675') )
);
COPY sync1_hybrid_part5 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part5 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -195,7 +195,7 @@ subpartition sp4 start('5675') )
);
COPY sync1_hybrid_part6 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part6 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -228,7 +228,7 @@ subpartition sp4 start('5675') )
);
COPY sync1_hybrid_part7 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part7 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -261,7 +261,7 @@ subpartition sp4 start('5675') )
);
COPY sync1_hybrid_part8 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync1_hybrid_part8 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
DROP TABLE sync1_hybrid_part1;
......
......@@ -32,7 +32,7 @@ insert into sync1_region select * from sync1_e_region;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region1 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region1 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -41,7 +41,7 @@ INSERT INTO sync1_wet_region1 SELECT * FROM sync1_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region1 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region1 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......
......@@ -4,49 +4,49 @@
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_1 cascade;
CREATE EXTERNAL TABLE sync1_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- SYNC1: TABLE 2
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_2 cascade;
CREATE EXTERNAL TABLE sync1_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- SYNC1: TABLE 3
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_3 cascade;
CREATE EXTERNAL TABLE sync1_exttab_error_log_3( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- SYNC1: TABLE 4
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_4 cascade;
CREATE EXTERNAL TABLE sync1_exttab_error_log_4( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- SYNC1: TABLE 5
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_5 cascade;
CREATE EXTERNAL TABLE sync1_exttab_error_log_5( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- SYNC1: TABLE 6
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_6 cascade;
CREATE EXTERNAL TABLE sync1_exttab_error_log_6( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
-- SYNC1: TABLE 7
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_7 cascade;
CREATE EXTERNAL TABLE sync1_exttab_error_log_7( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
......@@ -54,7 +54,7 @@ LOG ERRORS SEGMENT REJECT LIMIT 50;
DROP EXTERNAL TABLE IF EXISTS sync1_exttab_error_log_8 cascade;
CREATE EXTERNAL TABLE sync1_exttab_error_log_8( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJECT LIMIT 50;
......
-- start_ignore
SET gp_create_table_random_default_distribution=off;
-- end_ignore
create table sync1_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(1000) every(1));
create table sync1_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(1000) every(1));
alter table sync1_reindex_vacuum_full_test2 drop partition for (100);
alter table sync1_reindex_vacuum_full_test2 drop partition for (101);
alter table sync1_reindex_vacuum_full_test2 drop partition for (102);
alter table sync1_reindex_vacuum_full_test2 drop partition for (103);
alter table sync1_reindex_vacuum_full_test2 drop partition for (104);
alter table sync1_reindex_vacuum_full_test2 drop partition for (105);
create table sync1_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(10) every(1));
create table sync1_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(10) every(1));
alter table sync1_reindex_vacuum_full_test2 drop partition for (1);
alter table sync1_reindex_vacuum_full_test2 drop partition for (2);
alter table sync1_reindex_vacuum_full_test2 drop partition for (3);
alter table sync1_reindex_vacuum_full_test2 drop partition for (4);
alter table sync1_reindex_vacuum_full_test2 drop partition for (5);
drop table sync1_reindex_vacuum_full_test1;
create table sync1_reindex_vacuum_full_test3(i int);
......
......@@ -69,7 +69,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync2_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync2_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync2_hybrid_part1_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync2_hybrid_part1_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync2_hybrid_part1_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync2_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync2_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
CREATE TABLE sync2_hybrid_part2 (
PS_PARTKEY INTEGER,
......@@ -142,7 +142,7 @@ psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync2_hybrid
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync2_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_3" for table "sync2_hybrid_part2_1_prt_p2_2_prt_sp4"
psql:/path/sql_file:1: NOTICE: CREATE TABLE will create partition "sync2_hybrid_part2_1_prt_p2_2_prt_sp4_3_prt_4" for table "sync2_hybrid_part2_1_prt_p2_2_prt_sp4"
CREATE TABLE
COPY sync2_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync2_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY 10000
DROP TABLE sync1_hybrid_part7;
DROP TABLE
......
......@@ -31,7 +31,7 @@ INSERT 0 5
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region7 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region7.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region7 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region7.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -42,7 +42,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region7 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region7.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region7 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region7.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -60,8 +60,8 @@ INSERT 0 5
--
select * from sync1_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -70,8 +70,8 @@ select * from sync1_region order by r_regionkey;
select * from sync1_new_region7 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -84,7 +84,7 @@ select * from sync1_new_region7 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region6 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region6 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -95,7 +95,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ck_sync1_ret_region6 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ck_sync1_ret_region6 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -113,8 +113,8 @@ INSERT 0 5
--
select * from ck_sync1_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -123,8 +123,8 @@ select * from ck_sync1_region order by r_regionkey;
select * from ck_sync1_new_region6 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -137,7 +137,7 @@ select * from ck_sync1_new_region6 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ct_wet_region4 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ct_wet_region4 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -148,7 +148,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ct_ret_region4 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ct_ret_region4 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -166,8 +166,8 @@ INSERT 0 5
--
select * from ct_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -176,8 +176,8 @@ select * from ct_region order by r_regionkey;
select * from ct_new_region4 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -190,7 +190,7 @@ select * from ct_new_region4 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE resync_wet_region2 ( like resync_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE resync_wet_region2 ( like resync_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -201,7 +201,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE resync_ret_region2 ( like resync_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE resync_ret_region2 ( like resync_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -219,8 +219,8 @@ INSERT 0 5
--
select * from resync_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -229,8 +229,8 @@ select * from resync_region order by r_regionkey;
select * from resync_new_region2 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -243,7 +243,7 @@ select * from resync_new_region2 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync2_wet_region1 ( like sync2_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync2_wet_region1 ( like sync2_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
psql:/path/sql_file:1: NOTICE: Table doesn't have 'DISTRIBUTED BY' clause, defaulting to distribution columns from LIKE table
CREATE EXTERNAL TABLE
--
......@@ -254,7 +254,7 @@ INSERT 0 5
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync2_ret_region1 ( like sync2_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync2_ret_region1 ( like sync2_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE
--
-- create second table with same schema def
......@@ -272,8 +272,8 @@ INSERT 0 5
--
select * from sync2_region order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......@@ -282,8 +282,8 @@ select * from sync2_region order by r_regionkey;
select * from sync2_new_region1 order by r_regionkey;
r_regionkey | r_name | r_comment
-------------+---------------------------+---------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
-------------+---------------------------+--------------------------------------------------------------------------------------------------------------------
0 | AFRICA | lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to
1 | AMERICA | hs use ironic, even requests. s
2 | ASIA | ges. thinly even pinto beans ca
3 | EUROPE | ly final courts cajole furiously final excuse
......
......@@ -4,7 +4,7 @@ DROP EXTERNAL TABLE IF EXISTS sync2_exttab_error_log_1 cascade;
psql:/path/sql_file:1: NOTICE: table "sync2_exttab_error_log_1" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync2_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJESYNC2 LIMIT 50;
psql:/path/sql_file:1: ERROR: syntax error at or near "REJESYNC2"
LINE 3: LOG ERRORS SEGMENT REJESYNC2 LIMIT 50;
......@@ -14,7 +14,7 @@ DROP EXTERNAL TABLE IF EXISTS sync2_exttab_error_log_2 cascade;
psql:/path/sql_file:1: NOTICE: table "sync2_exttab_error_log_2" does not exist, skipping
DROP EXTERNAL TABLE
CREATE EXTERNAL TABLE sync2_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJESYNC2 LIMIT 50;
psql:/path/sql_file:1: ERROR: syntax error at or near "REJESYNC2"
LINE 3: LOG ERRORS SEGMENT REJESYNC2 LIMIT 50;
......
......@@ -30,7 +30,7 @@ subpartition sp4 start('5675') )
);
COPY sync2_hybrid_part1 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync2_hybrid_part1 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
......@@ -63,7 +63,7 @@ subpartition sp4 start('5675') )
);
COPY sync2_hybrid_part2 FROM '/data/tangp3/tincrepo/private/tangp3/main/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
COPY sync2_hybrid_part2 FROM '/Users/aagrawal/workspace/5.0/gpdb/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/hybrid_part.data' delimiter as '|';
DROP TABLE sync1_hybrid_part7;
......
......@@ -31,7 +31,7 @@ insert into sync2_region select * from sync2_e_region;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region7 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region7.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync1_wet_region7 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region7.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -40,7 +40,7 @@ INSERT INTO sync1_wet_region7 SELECT * FROM sync1_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync1_ret_region7 ( like sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region7.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync1_ret_region7 ( like sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region7.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -62,7 +62,7 @@ select * from sync1_new_region7 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region6 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ck_sync1_wet_region6 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -71,7 +71,7 @@ INSERT INTO ck_sync1_wet_region6 SELECT * FROM ck_sync1_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ck_sync1_ret_region6 ( like ck_sync1_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ck_sync1_ret_region6 ( like ck_sync1_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region6.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -93,7 +93,7 @@ select * from ck_sync1_new_region6 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE ct_wet_region4 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE ct_wet_region4 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -102,7 +102,7 @@ INSERT INTO ct_wet_region4 SELECT * FROM ct_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE ct_ret_region4 ( like ct_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE ct_ret_region4 ( like ct_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region4.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -124,7 +124,7 @@ select * from ct_new_region4 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE resync_wet_region2 ( like resync_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE resync_wet_region2 ( like resync_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
--
......@@ -132,7 +132,7 @@ INSERT INTO resync_wet_region2 SELECT * FROM resync_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE resync_ret_region2 ( like resync_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE resync_ret_region2 ( like resync_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region2.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......@@ -154,7 +154,7 @@ select * from resync_new_region2 order by r_regionkey;
--
-- create WET with similiar schema def as the original heap table
--
CREATE WRITABLE EXTERNAL TABLE sync2_wet_region1 ( like sync2_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE WRITABLE EXTERNAL TABLE sync2_wet_region1 ( like sync2_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- insert data into the WET selecting from original table
......@@ -163,7 +163,7 @@ INSERT INTO sync2_wet_region1 SELECT * FROM sync2_region;
--
-- create a RET reading data from the file created by WET
--
CREATE EXTERNAL TABLE sync2_ret_region1 ( like sync2_region) LOCATION ('gpfdist://10.110.120.92:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
CREATE EXTERNAL TABLE sync2_ret_region1 ( like sync2_region) LOCATION ('gpfdist://10.0.0.6:8088/wet_region1.tbl') FORMAT 'TEXT' (DELIMITER AS '|');
--
-- create second table with same schema def
--
......
......@@ -4,14 +4,14 @@
DROP EXTERNAL TABLE IF EXISTS sync2_exttab_error_log_1 cascade;
CREATE EXTERNAL TABLE sync2_exttab_error_log_1( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJESYNC2 LIMIT 50;
-- SYNC2: TABLE 2
DROP EXTERNAL TABLE IF EXISTS sync2_exttab_error_log_2 cascade;
CREATE EXTERNAL TABLE sync2_exttab_error_log_2( i int, j text )
LOCATION ('gpfdist://10.110.120.144:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOCATION ('gpfdist://10.0.0.6:8088/read/table_with_errors.tbl') FORMAT 'TEXT' (DELIMITER '|')
LOG ERRORS SEGMENT REJESYNC2 LIMIT 50;
-- Generate error logs on tables created in SYNC1
......
......@@ -4,14 +4,13 @@ SET gp_create_table_random_default_distribution=off;
reindex database gptest;
vacuum full;
create table sync2_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(1000) every(1));
create table sync2_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(1000) every(1));
alter table sync2_reindex_vacuum_full_test2 drop partition for (100);
alter table sync2_reindex_vacuum_full_test2 drop partition for (101);
alter table sync2_reindex_vacuum_full_test2 drop partition for (102);
alter table sync2_reindex_vacuum_full_test2 drop partition for (103);
alter table sync2_reindex_vacuum_full_test2 drop partition for (104);
alter table sync2_reindex_vacuum_full_test2 drop partition for (105);
create table sync2_reindex_vacuum_full_test1 (i int) partition by range(i) (start(1) end(10) every(1));
create table sync2_reindex_vacuum_full_test2 (i int) partition by range(i) (start(1) end(10) every(1));
alter table sync2_reindex_vacuum_full_test2 drop partition for (1);
alter table sync2_reindex_vacuum_full_test2 drop partition for (2);
alter table sync2_reindex_vacuum_full_test2 drop partition for (3);
alter table sync2_reindex_vacuum_full_test2 drop partition for (4);
alter table sync2_reindex_vacuum_full_test2 drop partition for (5);
drop table sync2_reindex_vacuum_full_test1;
create table sync2_reindex_vacuum_full_test3(i int);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册