You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Yechao Chen (JIRA)" <ji...@apache.org> on 2016/08/01 09:31:20 UTC

[jira] [Created] (HIVE-14398) import database.tablename from path error

Yechao Chen created HIVE-14398:
----------------------------------

             Summary: import database.tablename from path error
                 Key: HIVE-14398
                 URL: https://issues.apache.org/jira/browse/HIVE-14398
             Project: Hive
          Issue Type: Bug
          Components: Import/Export
    Affects Versions: 1.1.0
            Reporter: Yechao Chen
            Assignee: Yechao Chen


hive>create table a(id int,name string);
hive>export table a to '/tmp/a';
hive> import table test.a from '/tmp/a';
Copying data from hdfs://test:8020/tmp/a/data
Loading data to table default.test.a
Failed with exception Invalid table name default.test.a
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

tablename  should be test.a not default.test.a 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)