Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.6
-
None
-
None
Description
Patch - SQOOP-521 addresses the special characters in the table name only when importing the tables individually.
When importing a whole database (import-all-tables) with hive-import, the special characters like '-' in SQL Server table name doesn't get converted to a '_' in hive.
This raises the below error -
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.metadata.HiveException: [table_name_with-hyphens]: is not a valid table name.