Talend : How to load a text file into Hive ?

In this tutorial we will show you how to Load a file into a Hive table.

First of all create the following components

  • tHiveConnection
  • tHiveCreateTable
  • tHiveRow

 

In your HDFS distribution, create a small file with only two columns Name, age

test file
test file

Here is the capture of the job

Load text file into Hive
Load text file into Hive

 

Configure the tHiveRow

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.