Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: Unable to import incremental data from Oracle using SQOOP with timestamp

$
0
0

Narashima:

From the error message, especially the ORA-01841 code, it appears the source data may have an unexpected data value or format. The typical cause of an ORA-01841 error is a string-to-date conversion that results in an out of range date. The date is expected to be in the form YYYYMMDD. Characters before the date string may cause this error code, too. I recommend checking your column values for outlying or unusual values; I suspect you may find one or more unexpected timestamps, and those are likely the ones causing the import to fail.

You also don’t give the value you are using for {last_import_date}. That also needs to be in an expected format.

Happy hadooping,

Bryce Ryan


Viewing all articles
Browse latest Browse all 3435

Trending Articles