use hcatalog imports  - you need sqoop 1.4.4 though

http://sqoop.apache.org/docs/1.4.4/SqoopUserGuide.html#_sqoop_hcatalog_integration


Venkat


On Thu, May 1, 2014 at 10:09 PM, Shushant Arora
<[email protected]>wrote:

> I have a requirement to import data from Mysql table to partitioned Hive
> table.
>
> Each row of mysql contains date field.
> I want partitioning on date field in Hive table.
>
> How to use dynamic partition. As sqoop enforce to tell partition name
> beforehande.
> But I want from each Mysql row get date column and insert in appropriate
> partition in hive.
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to