text: -- @product_version gpdb: [4.3.0.0-]
  begin;
  CREATE TABLE abort_create_needed_cr_uao_table( phase text,a int,col001 char DEFAULT 'z',col002 numeric,col003 boolean DEFAULT false,col004 bit(3) DEFAULT '111',col005 text DEFAULT 'pookie', col006 integer[] DEFAULT '{5, 4, 3, 2, 1}', col007 character varying(512) DEFAULT 'Now is the time', col008 character varying DEFAULT 'Now is the time', col009 character varying(512)[], col010 numeric(8) ,col011 int,col012 double precision, col013 bigint, col014 char(8), col015 bytea,col016 timestamp with time zone,col017 interval, col018 cidr, col019 inet, col020 macaddr,col022 money, col024 timetz,col025 circle, col026 box, col027 name,col028 path, col029 int2, col031 bit varying(256),col032 date, col034 lseg,col035 point,col036 polygon,col037 real,col039 time, col040 timestamp ) WITH (appendonly=true);
  INSERT INTO abort_create_needed_cr_uao_table VALUES ('sync1_uao1',1,'a',11,true,'111', '1_one', '{1,2,3,4,5}', 'Hello .. how are you 1', 'Hello .. how are you 1',    '{one,two,three,four,five}',  12345678, 1, 111.1111,  11,  '1_one_11',   'd',  
  '2001-12-13 01:51:15+1359',  '11',   '0.0.0.0', '0.0.0.0', 'AA:AA:AA:AA:AA:AA',   '34.23',   '00:00:00+1359',  '((2,2),1)',   '((1,2),(2,1))',   'hello', '((1,2),(2,1))', 11,   '010101',   '2001-12-13', '((1,1),(2,2))', '(1,1)', '((1,2),(2,3),(3,4),(4,3),(3,2),(2,1))',    111111, '23:00:00',   '2001-12-13 01:51:15');
  commit;
  
  select count(*) from abort_create_needed_cr_uao_table;
  
  select count(*) FROM pg_appendonly WHERE visimaprelid is not NULL AND visimapidxid is not NULL AND relid in (SELECT oid FROM pg_class WHERE relname ='abort_create_needed_cr_uao_table');
  select count(*) AS only_visi_tups_ins  from abort_create_needed_cr_uao_table;
  set gp_select_invisible = true;
  select count(*) AS invisi_and_visi_tups_ins  from abort_create_needed_cr_uao_table;
  set gp_select_invisible = false;
  update abort_create_needed_cr_uao_table set  col001 = 'e'   where a=1;
  select count(*) AS only_visi_tups_upd  from abort_create_needed_cr_uao_table;
  set gp_select_invisible = true;
  select count(*) AS invisi_and_visi_tups  from abort_create_needed_cr_uao_table;
  set gp_select_invisible = false;
  delete from abort_create_needed_cr_uao_table  where a =  1;
  select count(*) AS only_visi_tups  from abort_create_needed_cr_uao_table;
  set gp_select_invisible = true;
  select count(*) AS invisi_and_visi_tups  from abort_create_needed_cr_uao_table;
  set gp_select_invisible = false;
  vacuum abort_create_needed_cr_uao_table;
  select count(*) AS only_visi_tups_vacuum  from abort_create_needed_cr_uao_table;
  set gp_select_invisible = true;
  select count(*) AS invisi_and_visi_tups_vacuum  from abort_create_needed_cr_uao_table;
  set gp_select_invisible = false;
  
  DROP TABLE abort_create_needed_cr_uao_table;
  