Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop, mail # user - field type of avro corresponding to mysql date


Copy link to this message
-
Re: field type of avro corresponding to mysql date
Jarek Jarcec Cecho 2014-03-25, 02:24
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:

 -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJTMOjOAAoJEEk45sAabwqGVSsQAMo2pxJ5IwKaa/xxMOV4DbnT
K6qL61+ihWoh1p5LYZu4Pru9JV29yVaoioJSS7FcFRxG0pB4Cyg9LTg7PX9VvL55
gpXoFk1sH8NUVvDI5QptPz/6xf8YgB/Gz7tMjr+qgQIx/BBjD9v3aRuzi8HwOID3
pAPrTNsF8SAVZL0DS5u2qv7N6wfSp2n58cgSKsEQtMYa5PFAmbLd+ItJOFOpIPAB
4IUMKnSocIQE2c1Ba02KhpzMUvzabzinWzAVUf/bDjAVE7K/a1sw6t+17U5R0F7Y
yTo9B21NgS4ZzQ5td7ur7xpQ8+TyNN1L1cXc0qYGeYYg8e3dXtxhU8jy5023GNKZ
QkzWhU+WSuV8g6UEFy/pBhe2BnxYkLpw//CvxC20h9gohRLHqKmx4am7yYZqFQtv
3cEsQ5l+JtBg2tQtG2epDQ9qzTw1oE/uYt+HU+vRzo06UnHG3Ub2GZLS44/9EXnN
roBB6kLWw5LMqCHJDlr2YFJoat62CDIPA6N71X4rmxhG/k5a3sOGLWuaZE/O7VjR
Osc82I0yK3X8B76OSNW4qjsIaQyavg0TynYX9Z5jERF6OAs6dOVT4XjTcvxVawlK
DrroSniW/mNuKRrsdsLUNDbmStGl8OPn78KiSaKIRsDlBDroHqA43D9iIMCZKV2a
QgNKa7JdxBIek/PZUgmC
=Me55