I was trying to import a table from RDBMS (Windows - SQL Server 2012) to HDFS using the code below. But I'm getting an error. I could successfully connect it.
sqoop import
--connect
"jdbc:sqlserver://192.1x8.xx.1:14xx;database=AdventureWorks2012;
username=hadox;password=hadxx"
--table Production.Product
--hive-import
I understood the error was caused by the dot (.) in the tables name.
I got that information from the link sqoop to import data to hive. I didn't understand any details in that link.
Can anyone help please?
Thanks in advance.
Error:
ERROR manager.SqlManager: Error executing statement com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'Production.Product'.
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'Production.Product'.