You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Prasanna Saraswathi Krishnan (JIRA)" <ji...@apache.org> on 2019/02/12 17:38:00 UTC
[jira] [Created] (SQOOP-3426) Import-all-tables fails on tables
with names containing hyphens ( - )
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)