How to load data from a text file to Hive table

In this post, I describe how to insert data from a text file to a hive table. 

Suppose you have tab delimited file::

Create a Hive table stored as a text file.

Load the text file (stored locally) into the Hive table:

Create a Hive table stored as sequence file.

Now you can load into the sequence table from the text table: