Thursday 14 July 2022

Hive: Different ways to insert data into Hive table

There are three ways to insert data into Hive table.

a.   Using INSERT statement: Since each insert statement is a MapReduce job, it is not efficient to insert the data.

b.   Loading data from files

         1. Load the data from HDFS file

         2. Load the data from local file

c.    Load data from one table to other

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment