Hive- unable to load data into table

0 votes
While loading the data stored in hdfs, I am getting below error:

hive> load data inpath "/user/hive/warehouse/22jan.db/bought/customers1.txt"overwrite in
to txn3;
FAILED: ParseException line 1:85 missing TABLE at "txn3" near "" 
Jul 24 in Big Data Hadoop by Esha
45 views

1 answer to this question.

0 votes

The command you are typing is incorrect. You are missing the TABLE keyword:

hive>load data inpath "/user/hive/warehouse/22jan.db/bought/customers1.txt"overwrite in

to TABLE txn3;
answered Jul 24 by Firoz

Related Questions In Big Data Hadoop

0 votes
1 answer

How to load data from flat files into different partitions of Hive table?

Hi, You can load data from flat files ...READ MORE

answered Jun 26 in Big Data Hadoop by Gitika
• 25,420 points
66 views
0 votes
1 answer

Not able to insert data into hive table

Seems like a hive version problem.​ insert operation is ...READ MORE

answered Dec 14, 2018 in Big Data Hadoop by Omkar
• 68,480 points
356 views
+1 vote
1 answer

Unable to load data in Hbase table from dataset

Try these steps (make necessary changes): First upload ...READ MORE

answered Dec 18, 2018 in Big Data Hadoop by Omkar
• 68,480 points
335 views
0 votes
1 answer

How to load data from flat files into Hive?

Hey, You can load data from flat files ...READ MORE

answered Jun 26 in Big Data Hadoop by Gitika
• 25,420 points
185 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,800 points
3,576 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,800 points
454 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
18,431 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,280 points
1,333 views
0 votes
1 answer

Load data into the hive table

You can try something like this: hadoop dfs ...READ MORE

answered Jul 26 in Big Data Hadoop by Vaibhav
40 views
+3 votes
1 answer

Getting Connection Error while loading data into table using cloudera hive

Hey Nafeesa, Itseems that Hive is not able ...READ MORE

answered Oct 3, 2018 in Big Data Hadoop by Vardhan
• 12,870 points
87 views