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 BCAA0200BB3 for ; Wed, 28 Sep 2016 05:47:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BB272160AD2; Wed, 28 Sep 2016 03:47:23 +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 39796160AE5 for ; Wed, 28 Sep 2016 05:47:23 +0200 (CEST) Received: (qmail 36430 invoked by uid 500); 28 Sep 2016 03:47:22 -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 36392 invoked by uid 99); 28 Sep 2016 03:47:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2016 03:47:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2DBBF2C2A6A for ; Wed, 28 Sep 2016 03:47:22 +0000 (UTC) Date: Wed, 28 Sep 2016 03:47:22 +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-14519) Multi insert query bug MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 28 Sep 2016 03:47:23 -0000 [ https://issues.apache.org/jira/browse/HIVE-14519?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio Pe=C3=B1a updated HIVE-14519: ------------------------------- Target Version/s: 2.1.1 > Multi insert query bug > ---------------------- > > Key: HIVE-14519 > URL: https://issues.apache.org/jira/browse/HIVE-14519 > Project: Hive > Issue Type: Bug > Components: Logical Optimizer > Reporter: Yongzhi Chen > Assignee: Yongzhi Chen > Fix For: 2.2.0 > > Attachments: HIVE-14519.1.patch > > > When running multi-insert queries, when one of the query is not returning= results, the other query is not returning the right result. > For example: > After following query, there is no value in /tmp/emp/dir3/000000_0 > {noformat} > From (select * from src) a > insert overwrite directory '/tmp/emp/dir1/' > select key, value > insert overwrite directory '/tmp/emp/dir2/' > select 'header' > where 1=3D2 > insert overwrite directory '/tmp/emp/dir3/' > select key, value=20 > where key =3D 100; > {noformat} > where clause in the second insert should not affect the third insert.=20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)