Prasanna Saraswathi Krishnan created SQOOP-3426:
---------------------------------------------------
Summary: Import-all-tables fails on tables with names containing hyphens ( -
)
Key: SQOOP-3426
URL: https://issues.apache.org/jira/browse/SQOOP-3426
Project: Sqoop
Issue Type: Bug
Components: codegen
Affects Versions: 1.4.6
Reporter: Prasanna Saraswathi Krishnan
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
|