loading data from website

Moderator: NorbertKrupa

Post Reply
sdorich
Newbie
Newbie
Posts: 11
Joined: Thu Nov 21, 2013 11:43 pm

loading data from website

Post by sdorich » Fri Nov 22, 2013 11:53 pm

I am having problems loading data from the following website:

http://gdelt.utdallas.edu/data/backfiles/?O=D

I was successful in creating the tables that I needed to and downloading the files from that website. However, when I tried running a load script I created, I didn't get any errors - but Vertica returned that 0 rows were loaded. The following is the script I ran for one of the files:

copy GDELT_HISTORICAL from ‘/opt/vertica/gdelt_files/1979.csv’ RECORD TERMINATOR E‘/n’;

When unzipped, the files from the website I gave is a .csv file. Any ideas on what I can do to successfully load this data into my Vertica db?

Thanks ahead of time!

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: loading data from website

Post by id10t » Sat Nov 23, 2013 9:49 am

Hi!

[DELETED]
Last edited by id10t on Sat May 09, 2015 3:14 pm, edited 1 time in total.

sdorich
Newbie
Newbie
Posts: 11
Joined: Thu Nov 21, 2013 11:43 pm

Re: loading data from website

Post by sdorich » Mon Nov 25, 2013 11:49 pm

Figured it out - if anyone else has a problem similar to mine look for the log files in the CopyErrorLogs directory:

# find / -name 'CopyErrorLogs'

Post Reply

Return to “New to Vertica”