我正在尝试通过以下查询将分区表导入hdfs,但它正在加载完整表而不是分区。
sqoop import -Doraoop.disabled=true -
Doraoop.import.partitions='"LESS20161101","LESS20161001","LESS20160901",' -
Doraoop.chunk.method=PARTITION Doraoop.import.consistent.read=true --connect
jdbc:mysql://host/server-name \--username root -P --table customers --table
customer --target-dir /user/cloudera/partitioned-tables -m 1