I am using Sqoop (version 1.4.4) to import data from MySQL to Hive. The data will be a subset of one of tables, i.e. few columns from a table. Is it necessary to create table in
No need to create a table. Its not necessary. While we are importing itself we can do it. Please look the below command.
sqoop import --connect jdbc:mysql://mysql_server:3306/db_name \ --username mysql_user \ --password mysql_pass \ --table table_name \ --hive-import