When to use Sqoop --create-hive-table

后端 未结 2 518
轻奢々
轻奢々 2021-01-13 03:36

Can anyone tell the difference between create-hive-table & hive-import method? Both will create a hive table, but still what is the significan

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-13 03:46

    The difference is that create-hive-table will create table in Hive based on the source table in database but will NOT transfer any data. Command "import --hive-import" will both create table in Hive and import data from the source table.

提交回复
热议问题