sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yuming wang" <q79969...@gmail.com>
Subject Re: Review Request 36609: Support Sqoop import multiple hive partition
Date Mon, 20 Jul 2015 03:38:40 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36609/
-----------------------------------------------------------

(Updated 七月 20, 2015, 3:38 a.m.)


Review request for Sqoop.


Repository: sqoop-trunk


Description
-------

Support Sqoop import multiple hive partition as following args::
--hive-partition-key op_day,city
--hive-partition-value 20150716,shanghai

then create table partition as following:
... PARTITIONED BY (op_day STRING ,city STRING )

and load data as following:
... PARTITION (op_day='20150717' , city='shanghai')


Diffs
-----

  src/java/org/apache/sqoop/hive/TableDefWriter.java c9962e9 

Diff: https://reviews.apache.org/r/36609/diff/


Testing (updated)
-------

Passed compile and  tested in a real cluster.


Thanks,

yuming wang


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message