From issues-return-160138-archive-asf-public=cust-asf.ponee.io@hive.apache.org Thu Jun 13 07:56:01 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 87BDD18064E for ; Thu, 13 Jun 2019 09:56:01 +0200 (CEST) Received: (qmail 601 invoked by uid 500); 13 Jun 2019 07:56: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 592 invoked by uid 99); 13 Jun 2019 07:56:00 -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; Thu, 13 Jun 2019 07:56:00 +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 6A0C2E2CDF for ; Thu, 13 Jun 2019 07:56: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 27E7124633 for ; Thu, 13 Jun 2019 07:56:00 +0000 (UTC) Date: Thu, 13 Jun 2019 07:56:00 +0000 (UTC) From: "Attila Magyar (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-21666) Bad behavior with 'insert_only' property on non-transactional table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-21666?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1686= 2803#comment-16862803 ]=20 Attila Magyar commented on HIVE-21666: -------------------------------------- [~tlipcon], alter table goes through the same validation {code:java} > create table aaa(key int) stored as orc; > ALTER TABLE aaa SET TBLPROPERTIES ('transactional_properties'=3D'insert_o= nly'); Error: Error while processing statement: FAILED: Execution Error, return co= de 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot set 'transactional= _properties' to 'insert_only' without setting 'transactional' to 'true' (st= ate=3D08S01,code=3D1){code} =C2=A0 > Bad behavior with 'insert_only' property on non-transactional table > ------------------------------------------------------------------- > > Key: HIVE-21666 > URL: https://issues.apache.org/jira/browse/HIVE-21666 > Project: Hive > Issue Type: Bug > Components: Transactions > Reporter: Todd Lipcon > Assignee: Attila Magyar > Priority: Major > > I created a table with 'transactional_properties'=3D'insert_only' but did= n't specify 'transactional'=3D'TRUE'. I was able to insert into this table,= but when I tried to query it, I got a NumberFormatException since it appea= rs the insert path used a non-transactional layout while the read path expe= cted one. -- This message was sent by Atlassian JIRA (v7.6.3#76005)