You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2012/10/12 23:25:04 UTC
[jira] [Commented] (SQOOP-402) Sqoop to Avro gets some dates wrongs
[ https://issues.apache.org/jira/browse/SQOOP-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475365#comment-13475365 ]
Jarek Jarcec Cecho commented on SQOOP-402:
------------------------------------------
Hi Miki,
would you mind specifying your use case? For example what database are you using, what connector what sqoop version, ...
Jarcec
> Sqoop to Avro gets some dates wrongs
> ------------------------------------
>
> Key: SQOOP-402
> URL: https://issues.apache.org/jira/browse/SQOOP-402
> Project: Sqoop
> Issue Type: Bug
> Reporter: Miki Tebeka
>
> We have some TIMESTAMP (no time zone) records with the value '0001-01-01 00:00:00'. Sqoop imports this to avro field with the value of -62135740800000.
> Checking this:
> {code}
> date -u -r -62135740800
> Sat Dec 29 08:00:00 UTC 0000
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira