BigData-Loading Data to Hive table concept:
This article will help you to understand the data loading concept into hive table using simple method.
Hive is designed
to enable easy data summarization and ad-hoc analysis of large volumes of data It uses a query
language called Hive-QL which is similar to SQL.
This article will help you to understand the data loading concept into hive table using simple method.
Concept 1:- Let’s load a data file into a
Hive table
I have a data file
at /root/Anil/mywork/new_users.txt (Local File System)
Sample data in the
file new_users.txt
Id, first_name,
last_name, email, gender, ip_address, country
First we create a
table and then load data file into the table
Here is the step
on how to Load Data into the Table new_users
Now the
new_users.txt file will be created in the Hive warehouse.
No comments:
Post a Comment