Ramesh Kumar Thangarajan created HIVE-26837:
-----------------------------------------------

             Summary: CTLT with hive.create.as.external.legacy as true creates 
managed table instead of external table
                 Key: HIVE-26837
                 URL: https://issues.apache.org/jira/browse/HIVE-26837
             Project: Hive
          Issue Type: Bug
            Reporter: Ramesh Kumar Thangarajan
            Assignee: Ramesh Kumar Thangarajan


When CTLT is used with the config hive.create.as.external.legacy=true, it still 
creates managed table by default

create table test_mm(empno int, name string) partitioned by(dept string) stored 
as orc tblproperties('transactional'='true', 
'transactional_properties'='default');
desc formatted test_mm;

set hive.create.as.external.legacy=true;

create table test_external like test_mm;
desc formatted test_external;



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

Reply via email to