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

import database.tablename from path error

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: