[
https://issues.apache.org/jira/browse/HIVE-21678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16835433#comment-16835433
]
mahesh kumar behera commented on HIVE-21678:
--------------------------------------------
[^HIVE-21678.04.patch] looks fine to me
+1
> CTAS creating a partitioned table fails because of no writeId
> -------------------------------------------------------------
>
> Key: HIVE-21678
> URL: https://issues.apache.org/jira/browse/HIVE-21678
> Project: Hive
> Issue Type: Sub-task
> Components: HiveServer2, repl
> Affects Versions: 4.0.0
> Reporter: Ashutosh Bapat
> Assignee: Ashutosh Bapat
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-21678.01.patch, HIVE-21678.02.patch,
> HIVE-21678.03.patch, HIVE-21678.04.patch
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> create table t1(a int, b int);
> insert into t1 values (1, 2), (3, 4);
> create table t6_part partitioned by (a) stored as orc tblproperties
> ("transactional"="true") as select * from t1;
> ERROR : FAILED: Execution Error, return code 1 from
> org.apache.hadoop.hive.ql.exec.MoveTask. MoveTask : Write id is not set in
> the config by open txn task for migration
> Error: Error while processing statement: FAILED: Execution Error, return code
> 1 from org.apache.hadoop.hive.ql.exec.MoveTask. MoveTask : Write id is not
> set in the config by open txn task for migration (state=08S01,code=1)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)