You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Bhuvana Bellala <Bh...@cormac-corp.com> on 2014/07/07 21:38:00 UTC

Hive date datatype serialization

Hi,

   Currently I am importing data from a MySQL table using sqoop as avrodata. Then I am using the schema to generate a hive table structure. However, hive does not preserve the date datatype, rather it just stores the date as BigInt. Is there any way I can store the date as an actual date instead of a unix timestamp?


[Cormac_logo]

Bhuvana Bellala| Intern
________________________________
13921 Park Center Road, Suite 180, Herndon VA 20171|
CMMI Maturity Level 3 Rated| GSA Schedule 70| SBA SDB, 8(a)|
www.cormac-corp.com<http://www.cormac-corp.com/>

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.  If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.