sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanna Saraswathi Krishnan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-3426) Import-all-tables fails on tables with names containing hyphens ( - )
Date Tue, 12 Feb 2019 17:38:00 GMT
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)

Mime
View raw message