Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BC2B5200BC8 for ; Wed, 23 Nov 2016 16:55:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BAA4E160B21; Wed, 23 Nov 2016 15:55:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3DAAF160AEC for ; Wed, 23 Nov 2016 16:55:00 +0100 (CET) Received: (qmail 9966 invoked by uid 500); 23 Nov 2016 15:54:58 -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 9890 invoked by uid 99); 23 Nov 2016 15:54:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2016 15:54:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 937D22C03DB for ; Wed, 23 Nov 2016 15:54:58 +0000 (UTC) Date: Wed, 23 Nov 2016 15:54:58 +0000 (UTC) From: =?utf-8?Q?Sergio_Pe=C3=B1a_=28JIRA=29?= To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-15199) INSERT INTO data on S3 is replacing the old rows with the new ones MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 23 Nov 2016 15:55:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-15199?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio Pe=C3=B1a updated HIVE-15199: ------------------------------- Attachment: (was: HIVE-15199.2.patch) > INSERT INTO data on S3 is replacing the old rows with the new ones > ------------------------------------------------------------------ > > Key: HIVE-15199 > URL: https://issues.apache.org/jira/browse/HIVE-15199 > Project: Hive > Issue Type: Bug > Components: Hive > Reporter: Sergio Pe=C3=B1a > Assignee: Sergio Pe=C3=B1a > Priority: Critical > Attachments: HIVE-15199.10.patch, HIVE-15199.8.patch, HIVE-15199.= 9.patch > > > Any INSERT INTO statement run on S3 tables and when the scratch directory= is saved on S3 is deleting old rows of the table. > {noformat} > hive> set hive.blobstore.use.blobstore.as.scratchdir=3Dtrue; > hive> create table t1 (id int, name string) location 's3a://spena-bucket/= t1'; > hive> insert into table t1 values (1,'name1'); > hive> select * from t1; > 1 name1 > hive> insert into table t1 values (2,'name2'); > hive> select * from t1; > 2 name2 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)