时间:2024-03-04 00:33作者:下载吧人气:21
使用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
网友评论