Re: Trouble Loading Into External Table

2008-11-26 Thread Josh Ferguson
> > Also - as a sanity check - can you please check hadoop dfs -cat / > data/sample/* (to make sure data got loaded/moved into that dir) > > -Original Message- > From: Josh Ferguson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2008 7:03 PM > To: h

Re: Trouble Loading Into External Table

2008-11-26 Thread Pete Wyckoff
PROTECTED]> wrote: congrats!! :) please do file a JIRA for this. We will fix this as soon as possible.. Ashish From: Josh Ferguson [EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 12:44 AM To: hive-user@hadoop.apache.org Subject: Re: Troubl

Re: Trouble Loading Into External Table

2008-11-26 Thread Josh Ferguson
t; wrote: congrats!! :) please do file a JIRA for this. We will fix this as soon as possible.. Ashish From: Josh Ferguson [EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 12:44 AM To: hive-user@hadoop.apache.org Subject: Re: Trouble Loading Into External T

Re: Trouble Loading Into External Table

2008-11-26 Thread Pete Wyckoff
Ferguson [EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 12:44 AM To: hive-user@hadoop.apache.org Subject: Re: Trouble Loading Into External Table I got it! The combination I got to work was the following: CREATE EXTERNAL TABLE basic (actor_id INT, actee_id INT, properties MAP) ROW FORMAT DELI

RE: Trouble Loading Into External Table

2008-11-26 Thread Ashish Thusoo
congrats!! :) please do file a JIRA for this. We will fix this as soon as possible.. Ashish From: Josh Ferguson [EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 12:44 AM To: hive-user@hadoop.apache.org Subject: Re: Trouble Loading Into External Table

Re: Trouble Loading Into External Table

2008-11-26 Thread Josh Ferguson
le/* (to make sure data got loaded/moved into that dir) -Original Message- From: Josh Ferguson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 7:03 PM To: hive-user@hadoop.apache.org Subject: Re: Trouble Loading Into External Table hive> CREATE EXTERNAL TABLE activi

Re: Trouble Loading Into External Table

2008-11-26 Thread Josh Ferguson
inal Message- From: Josh Ferguson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 7:03 PM To: hive-user@hadoop.apache.org Subject: Re: Trouble Loading Into External Table hive> CREATE EXTERNAL TABLE activity_test (occurred_at INT, actor_id INT, actee_id INT, properties MAP)

Re: Trouble Loading Into External Table

2008-11-25 Thread Josh Ferguson
:03 PM To: hive-user@hadoop.apache.org Subject: Re: Trouble Loading Into External Table hive> CREATE EXTERNAL TABLE activity_test (occurred_at INT, actor_id INT, actee_id INT, properties MAP) ROW FORMAT DELIMITED FIELDS TERMINATED BY '124' COLLECTION ITEMS TERMINATED BY '44&#

Re: Trouble Loading Into External Table

2008-11-25 Thread Josh Ferguson
[mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 7:03 PM To: hive-user@hadoop.apache.org Subject: Re: Trouble Loading Into External Table hive> CREATE EXTERNAL TABLE activity_test (occurred_at INT, actor_id INT, actee_id INT, properties MAP) ROW FORMAT DELIMITED FIELDS TERMINATED BY 

RE: Trouble Loading Into External Table

2008-11-25 Thread Joydeep Sen Sarma
d into that dir) -Original Message- From: Josh Ferguson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 7:03 PM To: hive-user@hadoop.apache.org Subject: Re: Trouble Loading Into External Table hive> CREATE EXTERNAL TABLE activity_test > (occurred_at INT, actor_id INT, actee_id

Re: Trouble Loading Into External Table

2008-11-25 Thread Josh Ferguson
hive> CREATE EXTERNAL TABLE activity_test > (occurred_at INT, actor_id INT, actee_id INT, properties MAP) > ROW FORMAT DELIMITED > FIELDS TERMINATED BY '124' > COLLECTION ITEMS TERMINATED BY '44' > MAP KEYS TERMINATED BY '58' > LINES TERMINATED BY '10' > STORED AS TE

RE: Trouble Loading Into External Table

2008-11-25 Thread Ashish Thusoo
Can you try putting the ascii value within quotes, so for example FIELDS TERMINATED BY '124' etc... You can also look at the following file in the source to see an example of how this is done ql/src/test/queries/clientpositive/input_dynamicserde.q Ashish -Original Message- From: Josh