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

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

Qian Xu created SQOOP-1862:
------------------------------

             Summary: 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)