Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14398

import database.tablename from path error

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.1.0
    • 1.1.0
    • Import/Export
    • None

    Description

      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

      Attachments

        1. HIVE-14398.1.patch
          1.0 kB
          Yechao Chen

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chenyechao Yechao Chen Assign to me
            chenyechao Yechao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment