時間:2024-03-04 00:33作者:下載吧人氣:19
使用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
網友評論