Running COPY results in ERROR: invalid input syntax for integer: \"\" error message for me. What am I missing?
ERROR: invalid input syntax for integer: \"\"
My /tmp/people.cs
/tmp/people.cs
CREATE TABLE people ( first_name varchar(20), age integer, last_name varchar(20) );
"first_name","age","last_name" Ivan,23,Poupkine Eugene,,Pirogov
copy people from 'file.csv' with (delimiter ';', null '');
'file.csv'
select * from people;
Just in first column.....