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)