diff --git a/src/test/regress/expected/qp_misc_jiras_optimizer.out b/src/test/regress/expected/qp_misc_jiras_optimizer.out index 754878ebd74391173b3782782d56136fbceb1e91..81c9d94536b1bf59281ea81b4903f2bf4c40e3b1 100644 --- a/src/test/regress/expected/qp_misc_jiras_optimizer.out +++ b/src/test/regress/expected/qp_misc_jiras_optimizer.out @@ -21,20 +21,16 @@ NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'dummy HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew. create index tbl1318_daa on qp_misc_jiras.tbl1318(dummy,aa); alter table qp_misc_jiras.tbl1318 alter column aa type integer using bit_length(aa); -ERROR: cannot alter indexed column -HINT: DROP the index first, and recreate it after the ALTER drop index qp_misc_jiras.tbl1318_daa; -alter table qp_misc_jiras.tbl1318 alter column aa type integer using bit_length(aa); +alter table qp_misc_jiras.tbl1318 alter column aa type integer using bit_length(aa::text); drop table qp_misc_jiras.tbl1318; create table qp_misc_jiras.tbl1318(dummy integer, aa text not null); NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'dummy' as the Greenplum Database data distribution key for this table. HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew. create index tbl1318_daa on qp_misc_jiras.tbl1318 using bitmap(dummy,aa); alter table qp_misc_jiras.tbl1318 alter column aa type integer using bit_length(aa); -ERROR: cannot alter indexed column -HINT: DROP the index first, and recreate it after the ALTER drop index qp_misc_jiras.tbl1318_daa; -alter table qp_misc_jiras.tbl1318 alter column aa type integer using bit_length(aa); +alter table qp_misc_jiras.tbl1318 alter column aa type integer using bit_length(aa::text); drop table qp_misc_jiras.tbl1318; -- Test for the upstream bug with combocids: -- https://www.postgresql.org/message-id/48B87164.4050802%40soe.ucsc.edu