You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/12/09 05:30:12 UTC

[jira] [Commented] (SQOOP-1862) Sqoop2: Unable to export data to jdbc database

    [ https://issues.apache.org/jira/browse/SQOOP-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14238967#comment-14238967 ] 

Veena Basavaraj commented on SQOOP-1862:
----------------------------------------

can you provide a more detailed stack trace?

> Sqoop2: Unable to export data to jdbc database
> ----------------------------------------------
>
>                 Key: SQOOP-1862
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1862
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.5
>            Reporter: Qian Xu
>
> I tried to export data from mysql to hdfs (using HdfsConnector), data is saved to disk expectedly. When I export data from hdfs back to mysql, it fails. Here is the error message:
> {code}
> Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect date value: '’' for column 'date' at row 1
> {code}
> The date type of the column is "DATE". Dumped context looks like "20014-12-08".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)