Quantcast
Channel: Hortonworks » All Topics
Viewing all articles
Browse latest Browse all 5121

Soop import Mssql Incremental

$
0
0

Replies: 0

Hello,

I get a error when I am trying to import from mssql with sqoop. I do a incremental import with lastmodified option on a datetime filed.
I get : Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: convert char to datetime error.
Can I specified to sqoop a datetime format ?

Here is my command :

sqoop import –connect ‘jdbc:sqlserver://172.16.0.40;databasename=XXX;username=XXX;password=XXX’ –table ‘tablename’ –hbase-table Table –column-family OFE –hbase-row-key CODE_ROW –incremental lastmodified –check-column DATE_COLUMN –last-value

Thank for your help
Nicolas


Viewing all articles
Browse latest Browse all 5121

Trending Articles