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, 2019 in Big Data Hadoop by Esha
367 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, 2019 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, 2019 in Big Data Hadoop by Gitika
• 65,870 points
313 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
• 69,090 points
819 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
• 69,090 points
753 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, 2019 in Big Data Hadoop by Gitika
• 65,870 points
1,517 views
+1 vote
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
• 11,380 points
6,809 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
• 11,380 points
1,092 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
47,766 views
–1 vote
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,390 points
2,586 views
0 votes
2 answers

Load data into the hive table

Hi, We can use a normal insert query ...READ MORE

answered Oct 15, 2020 in Big Data Hadoop by MD
• 95,060 points
671 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
• 13,200 points
241 views