sqoop import "-Dorg.apache.sqoop.splitter.allow_text_splitter=true" \
--connect jdbc:oracle:thin:@172.2.1.17:1521:orcl \
--username username \
--password password \
--table test_table \
--hive-import \
--hive-overwrite \
--hive-database ods \
--hive-table test_table \
--hive-partition-key dt \
--hive-partition-value 20210126 \
--as-parquetfile
网友评论