[ 
https://issues.apache.org/jira/browse/HIVE-14398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430749#comment-15430749
 ] 

Xuefu Zhang commented on HIVE-14398:
------------------------------------

[~chenyechao], Thanks for reporting and fix the problem. It seems that that 
your code change doesn't apply to the latest trunk code. Likely this is already 
fixed in later versions of Hive. Could you please verify?

> 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
>             Fix For: 1.1.0
>
>         Attachments: HIVE-14398.1.patch
>
>
> 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)

Reply via email to