ERROR 4704: Sequence exceeded max valueI can't find any information on the cause of this error or troubleshooting steps.
The COPY statement looks like this:
copy benchmarks.fake_requests ( ip, url, ua ) from '/tmp/data/???.gz' gzip/tmp/data contains tab delimited files like xaa.gz, xab.gz, etc.
ENCLOSED BY E'"'
delimiter E'\t'
direct ;
the data looks like
"46.62.215.*" "http://www.west.com/"; "Mozilla/5.0 (Windows NT 6.1; sl-SI; rv:1.9.1.20) Gecko/2010-08-29 03:33:05 Firefox/3.8"
"240.212.193.*" "http://www.paucek.com/"; "Mozilla/5.0 (compatible; MSIE 6.0; Windows 98; Trident/3.1)"
"62.14.30.*" "http://crist-hoeger.biz/"; "Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 5.0; Trident/5.0)"
"86.204.99.*" "http://abshire.com/"; "Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.2; Trident/4.0)"
The table is created like this:create schema if not exists benchmarks; set search_path=benchmarks,public; drop table if exists fake_requests; drop sequence if exists fake_requests_seq; create sequence fake_requests_seq cache 250000; create table fake_requests ( id int not null default nextval('fake_requests_seq'), ip varchar(15) not null, url varchar(256) not null, ua varchar(1024) null, primary key (id) ) segmented by modularhash(id) all nodes;
Any idea why I am seeing this error? I don't see the error when using COPY FROM LOCAL option, only when I copy from the node. Also, I see the error whether I try to load multiple files by wildcard or a single file using an explicit file name.Thanks
David
)