I'm trying to Sqoop the data from Teradata to hive. I thought of following the below steps:
1) Create a Hive table with all the required fields in Hue.
2) By using Sqoop import command along with --map-column-hive
attribute to load the data from Teradata to hive .
How to point to the already created Hive table from Sqoop import command, so that the Sqooped data should be placed in the corresponding Hive table?
You can generate
map-column-hive
attribute from existing table using shell and awk. it will be generated in the formCOL1=TYPE,COL2=TYPE,...COLN=TYPE