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