sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Jarcec Cecho <jar...@apache.org>
Subject Re: field type of avro corresponding to mysql date
Date Tue, 25 Mar 2014 02:24:15 GMT
It seems that Sqoop currently uses Long to serialize date to avro file:

https://github.com/apache/sqoop/blob/trunk/src/java/org/apache/sqoop/manager/ConnManager.java#L262

Jarcec

On Mon, Mar 24, 2014 at 05:58:21PM -0700, ey-chih chow wrote:
> Hi,
> I would like to upload an avro file to the corresponding MySQL table using swoop.  The
table has a field of the type date.  Is there anybody know the field type of avro corresponding
to MySQL date?  Thanks.
> Best regards,
> Ey-Chih Chow 		 	   		  

Mime
View raw message