Using Sqoop to import data from MySQL to Hive

前端 未结 6 1968
攒了一身酷
攒了一身酷 2021-02-06 10:12

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

6条回答
  •  北荒
    北荒 (楼主)
    2021-02-06 10:58

    Nayan, you probably would have figured it out by now.

    Whether EXTERNAL or not, hive tables are stored on HDFS.

    The keyword EXTERNAL only loosely ties the table with its data. For example, deleting the EXTERNAL table from within Hive only deletes the schema and leaves the data untouched on HDFS.

提交回复
热议问题