提交 ff83b198 编写于 作者: D Daniel Gustafsson

Update ORCA expected file for altering indexed column

Commit 28dd0152 relaxed the restriction on
altering indexed columns, but missed to update the expected test
output for ORCA. This applies the diff from qp_misc_jiras.out to the
_optimizer.out file as well.
上级 8acaa682
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册