软件下载吧文章资讯

分类分类

解决sqoop import 导入到hive后数据量变多的问题

2024-03-04 00:33作者:下载吧

使用sqoop import 命令从postgresql导入数据到hive中,发现数据行数变多了,但是任务没有跑错,非常奇怪。

导入语句为:

sqoop import
–connect jdbc:postgresql://*.*.*.*:5432/database_name
–username name111
–password password111
–table table111
–hive-import
–hive-database database111
–hive-table hive_table111
–hive-overwrite
–delete-target-dir
–hive-drop-import-delims
–null-string ”
–null-non-string ”
-m5

展开全部

相关文章

说两句网友评论
    我要跟贴
    取消