Getting error [Vertica][VJDBC](2052) ERROR: COPY: Row size nnnnnnnn is too large for bulk load
Hi,
I am new to vertica. We have 1 node test instance and are trying to load data using the bulk loader and getting the error :-
[Vertica][VJDBC](2052) ERROR: COPY: Row size 1701409377 is too large.
I have defined the base table and one projection.
We are using version 7.0.2. I have googled and searched this user community but no luck.
Any help/pointers would be great.
Thanks.
I am new to vertica. We have 1 node test instance and are trying to load data using the bulk loader and getting the error :-
[Vertica][VJDBC](2052) ERROR: COPY: Row size 1701409377 is too large.
I have defined the base table and one projection.
We are using version 7.0.2. I have googled and searched this user community but no luck.
Any help/pointers would be great.
Thanks.
0
Comments
Also, is there a column that is defined too small for the values that is being loaded?
After working through some things here's how we resolved the issue. I am documenting it for future reference if other folks face the same issue. Some of it comes down to being a newbie.
1) SELECT SET_CONFIG_PARAMETER ('StandardConformingStrings' ,'0');
2) Restart Vetica instance so setting takes effect.
3) We were extracting data to a flat file, comma separated. We used double quotes for the quoted strings - this NEEDS to be \" (backslash,double quote)
ref - https://my.vertica.com/docs/4.1/HTML/Master/14677.htm
The bulk loader seemed to work OK once we made these changes.
Hopefully this will save some frustration for others.
Thanks.
The value for the StandardConformingStrings before we reset it was -1. This seems to be the default.
Thanks,