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
35 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,360 points
54 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
• 67,660 points
329 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
• 67,660 points
315 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,360 points
127 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,730 points
3,363 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,730 points
404 views
0 votes
10 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
16,678 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,260 points
1,218 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
27 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,730 points
85 views