Re: Basic statement problems

2012-03-12 Thread Keith Wiley
It has started working now. I don't know what I changed. I dropped every single table from hive, explicitly created a new directory on HDFS and moved the .csv file to that directory, ran hive again and created the table. This time it worked. I can perform queries against the directory. Mayb

Re: Basic statement problems

2012-03-12 Thread Balaji Rao
What does a simple "select * from stringmap limit 10" return ? On Mon, Mar 12, 2012 at 12:51 PM, Keith Wiley wrote: > On Mar 9, 2012, at 16:46 , Steven Wong wrote: > >> The LOCATION clause has to specify the directory that contains (only) your >> data files. > > I've tried it both ways: > > CREA

Re: Basic statement problems

2012-03-12 Thread Keith Wiley
On Mar 9, 2012, at 16:46 , Steven Wong wrote: > The LOCATION clause has to specify the directory that contains (only) your > data files. I've tried it both ways: CREATE EXTERNAL TABLE stringmap (ObjectTypeCode INT, AttributeName STRING, AttributeValue INT, LangId INT, Value STRING, DisplayOrde

Re: Basic statement problems

2012-03-09 Thread Keith Wiley
So a directory, not a specific file. I thought I tried it both ways, but I'll switch it back the other way and try again. Thanks. On Mar 9, 2012, at 16:46 , Steven Wong wrote: > The LOCATION clause has to specify the directory that contains (only) your > data files.

RE: Basic statement problems

2012-03-09 Thread Steven Wong
The LOCATION clause has to specify the directory that contains (only) your data files. -Original Message- From: Keith Wiley [mailto:kwi...@keithwiley.com] Sent: Friday, March 09, 2012 3:44 PM To: user@hive.apache.org Subject: Basic statement problems I successfully installed and used Hi