Naresh P R created HIVE-24188:

             Summary: CTLT from MM to External fails because table txn 
properties are not skipped
                 Key: HIVE-24188
             Project: Hive
          Issue Type: Bug
            Reporter: Naresh P R
            Assignee: Naresh P R

Repro steps

set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
create table test_mm(age int, name string) partitioned by(dept string) stored 
as orc tblproperties('transactional'='true', 
create external table test_external like test_mm LOCATION 
Fails with below exception
Error: Error while processing statement: FAILED: Execution Error, return code 1 
from org.apache.hadoop.hive.ql.exec.DDLTask. 
MetaException(message:default.test_external cannot be declared transactional 
because it's an external table) (state=08S01,code=1){code}

This message was sent by Atlassian Jira

Reply via email to