From issues-return-157215-archive-asf-public=cust-asf.ponee.io@hive.apache.org Tue May 7 07:38:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C454E18064C for ; Tue, 7 May 2019 09:38:01 +0200 (CEST) Received: (qmail 43795 invoked by uid 500); 7 May 2019 07:38:01 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 43786 invoked by uid 99); 7 May 2019 07:38:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2019 07:38:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9F1E9E02EC for ; Tue, 7 May 2019 07:38:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1C9F625813 for ; Tue, 7 May 2019 07:38:00 +0000 (UTC) Date: Tue, 7 May 2019 07:38:00 +0000 (UTC) From: "Ashutosh Bapat (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-21678) CTAS creating a partitioned table fails because of no writeId MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-21678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Bapat updated HIVE-21678: ---------------------------------- Updated patch according to comments from Sankar and Mahesh. > 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 > > Time Spent: 50m > 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)