Menu

#5 v1.2 ERROR: Cannot create index whose evaluation cannot be enforced to remote nodes

V1.1
open
nobody
None
5
2014-06-27
2014-06-27
Mike
No

Create index for table cddos generates error message (I have no idea what it means or where to look for meaning). The only thing I can think of is that there are more fields in the index than in the key?

Index create:
CREATE UNIQUE INDEX cidos1 ON cddos USING btree (cunges, ndomat, netima);

Table definition:
CREATE TABLE cddos (
ndomat numeric(7,0) NOT NULL,
netima numeric(1,0) NOT NULL,
ndopfe character(15) NOT NULL,
clcndo character(1) NOT NULL,
didaff numeric(9,0) NOT NULL,
dlvcpr numeric(9,0) NOT NULL,
ciuges character(2) NOT NULL,
d1odpl numeric(9,0) NOT NULL,
csesoc character(4) NOT NULL,
capres character(2) NOT NULL,
dmcdos numeric(9,0) NOT NULL,
cstacp character(1) NOT NULL,
cunges character(7) NOT NULL,
cmetra character(1) NOT NULL,
danars numeric(9,0) NOT NULL,
ddecra numeric(9,0) NOT NULL,
dnotpa numeric(9,0) NOT NULL,
ddecal numeric(9,0) NOT NULL,
dmocgm numeric(9,0) NOT NULL,
dapres numeric(9,0) NOT NULL,
dreres numeric(9,0) NOT NULL,
dmajdo numeric(9,0) NOT NULL,
dndpot numeric(9,0) NOT NULL,
confid character(4) NOT NULL,
coeffk character(1) NOT NULL,
corgim character(3) NOT NULL,
confor character(1) NOT NULL,
doheix numeric(9,0) NOT NULL,
ctimco character(2) NOT NULL,
depaje numeric(9,0) NOT NULL,
daplma numeric(9,0) NOT NULL,
dbarsa numeric(9,0) NOT NULL,
ctybas character(1) NOT NULL,
dmjdcp numeric(9,0) NOT NULL,
hmjdcp numeric(7,0) NOT NULL,
CONSTRAINT cidos0 PRIMARY KEY (ndomat, netima)
)
DISTRIBUTE BY HASH (ndomat);

psql:run_alter.txt:1: ERROR: Cannot create index whose evaluation cannot be enforced to remote nodes

Discussion


Log in to post a comment.