Closed suntzu93 closed 6 years ago
I can ignore the id with command :
LOAD CSV FROM '/home/cpu60020-local/Documents/abc/1539672600000.csv' (inserttime,id_buildid,device,device_api,userid,request_name,request_duration,count_number,foreground,background,worker_thread,main_thread,status,flow_tag) INTO postgresql://username:123456@localhost/log?tablename=tbl_db (inserttime,id_buildid,device,device_api,userid,request_name,request_duration,count_number,foreground,background,worker_thread,main_thread,status,flow_tag) WITH truncate, skip header = 1, fields optionally enclosed by '"', fields escaped by double-quote, fields terminated by '\t'
Hello, I'm using pgloader verstion : pgloader version "3.5.2" My table :
My Csv file hasn't the value of "id" column so I wanna Ignore this column when run pgloader. My pgloader command :
and I got an error :
So How can I Ignore "id" column ?