You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ramesh Kumar Thangarajan (Jira)" <ji...@apache.org> on 2022/12/12 22:51:00 UTC

[jira] [Created] (HIVE-26837) CTLT with hive.create.as.external.legacy as true creates managed table instead of external table

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)