Zhihua Deng created HIVE-28580:
----------------------------------

             Summary: Create table using import command gives ddl pointing to 
incorrect location
                 Key: HIVE-28580
                 URL: https://issues.apache.org/jira/browse/HIVE-28580
             Project: Hive
          Issue Type: Bug
      Security Level: Public (Viewable by anyone)
            Reporter: Zhihua Deng
            Assignee: Zhihua Deng


Repro steps:

create external table test_a (val string) partitioned by (pt string);
insert into test_a partition (pt ='1111') values ("asfd");
export table test_a partition (pt='1111') to '/tmp/test_a';
import table test_b from '/tmp/test_a';

Under the location of test_b, there is no partition directory or data file, 
instead the partition "pt=1111" resides under the managed location of test_b.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to