時(shí)間:2024-03-04 00:33作者:下載吧人氣:13
使用sqoop import 命令從postgresql導(dǎo)入數(shù)據(jù)到hive中,發(fā)現(xiàn)數(shù)據(jù)行數(shù)變多了,但是任務(wù)沒有跑錯(cuò),非常奇怪。
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
網(wǎng)友評論