提交 4e53a937 编写于 作者: H Heikki Linnakangas

Adjust expected output for changed NOTICE when creating a 0-column table.

Commit 5702a724 changed changed the NOTICE you get when you create a table
with zero columns, but neglected updating expected outputs accordingly.
It went unnoticed because the NOTICEs are masked by the init_file used
in "make installcheck-good". But lets be tidy.
上级 4d31c209
......@@ -14,7 +14,7 @@ set optimizer_enable_master_only_queries = on;
-- master only tables
create schema orca;
create table orca.r();
NOTICE: Table has no attributes to distribute on.
NOTICE: Table doesn't have 'distributed by' clause, and no column type is suitable for a distribution key. Creating a NULL policy entry.
set allow_system_table_mods='DML';
delete from gp_distribution_policy where localoid='orca.r'::regclass;
reset allow_system_table_mods;
......@@ -22,7 +22,7 @@ alter table orca.r add column a int;
alter table orca.r add column b int;
insert into orca.r select i, i/3 from generate_series(1,20) i;
create table orca.s();
NOTICE: Table has no attributes to distribute on.
NOTICE: Table doesn't have 'distributed by' clause, and no column type is suitable for a distribution key. Creating a NULL policy entry.
set allow_system_table_mods='DML';
delete from gp_distribution_policy where localoid='orca.s'::regclass;
reset allow_system_table_mods;
......@@ -3143,11 +3143,11 @@ select r.* from orca.r, orca.s where s.c=2;
----------------------------------------------------------------------
set optimizer=off;
create table orca.m();
NOTICE: Table has no attributes to distribute on.
NOTICE: Table doesn't have 'distributed by' clause, and no column type is suitable for a distribution key. Creating a NULL policy entry.
alter table orca.m add column a int;
alter table orca.m add column b int;
create table orca.m1();
NOTICE: Table has no attributes to distribute on.
NOTICE: Table doesn't have 'distributed by' clause, and no column type is suitable for a distribution key. Creating a NULL policy entry.
alter table orca.m1 add column a int;
alter table orca.m1 add column b int;
insert into orca.m select i-1, i%2 from generate_series(1,35) i;
......
......@@ -14,7 +14,7 @@ set optimizer_enable_master_only_queries = on;
-- master only tables
create schema orca;
create table orca.r();
NOTICE: Table has no attributes to distribute on.
NOTICE: Table doesn't have 'distributed by' clause, and no column type is suitable for a distribution key. Creating a NULL policy entry.
set allow_system_table_mods='DML';
delete from gp_distribution_policy where localoid='orca.r'::regclass;
reset allow_system_table_mods;
......@@ -22,7 +22,7 @@ alter table orca.r add column a int;
alter table orca.r add column b int;
insert into orca.r select i, i/3 from generate_series(1,20) i;
create table orca.s();
NOTICE: Table has no attributes to distribute on.
NOTICE: Table doesn't have 'distributed by' clause, and no column type is suitable for a distribution key. Creating a NULL policy entry.
set allow_system_table_mods='DML';
delete from gp_distribution_policy where localoid='orca.s'::regclass;
reset allow_system_table_mods;
......@@ -3146,11 +3146,11 @@ select r.* from orca.r, orca.s where s.c=2;
----------------------------------------------------------------------
set optimizer=off;
create table orca.m();
NOTICE: Table has no attributes to distribute on.
NOTICE: Table doesn't have 'distributed by' clause, and no column type is suitable for a distribution key. Creating a NULL policy entry.
alter table orca.m add column a int;
alter table orca.m add column b int;
create table orca.m1();
NOTICE: Table has no attributes to distribute on.
NOTICE: Table doesn't have 'distributed by' clause, and no column type is suitable for a distribution key. Creating a NULL policy entry.
alter table orca.m1 add column a int;
alter table orca.m1 add column b int;
insert into orca.m select i-1, i%2 from generate_series(1,35) i;
......
......@@ -192,7 +192,7 @@ DROP TABLE copy_regression_out1;
-- Zero column table
-- ######################################################
CREATE TABLE copy_regression_nocol();
NOTICE: Table has no attributes to distribute on.
NOTICE: Table doesn't have 'distributed by' clause, and no column type is suitable for a distribution key. Creating a NULL policy entry.
-- copy in and out of zero column table..
COPY copy_regression_nocol from stdin;
COPY copy_regression_nocol from stdin;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册