Naresh P R created HIVE-24188: --------------------------------- Summary: CTLT from MM to External fails because table txn properties are not skipped Key: HIVE-24188 URL: https://issues.apache.org/jira/browse/HIVE-24188 Project: Hive Issue Type: Bug Reporter: Naresh P R Assignee: Naresh P R
Repro steps {code:java} set hive.support.concurrency=true; 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', 'transactional_properties'='default'); create external table test_external like test_mm LOCATION '${system:test.tmp.dir}/create_like_mm_to_external'; {code} Fails with below exception {code:java} 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 (v8.3.4#803005)