From dev-return-146499-archive-asf-public=cust-asf.ponee.io@hive.apache.org Mon Feb 26 06:37:08 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4278018064A for ; Mon, 26 Feb 2018 06:37:08 +0100 (CET) Received: (qmail 13277 invoked by uid 500); 26 Feb 2018 05:37:06 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 13258 invoked by uid 99); 26 Feb 2018 05:37:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2018 05:37:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 333E51A03D7 for ; Mon, 26 Feb 2018 05:37:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 0ujRd7--2BFx for ; Mon, 26 Feb 2018 05:37:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 519485F39D for ; Mon, 26 Feb 2018 05:37:02 +0000 (UTC) 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 4F8FEE094E for ; Mon, 26 Feb 2018 05:37:01 +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 7A90A255CA for ; Mon, 26 Feb 2018 05:37:00 +0000 (UTC) Date: Mon, 26 Feb 2018 05:37:00 +0000 (UTC) From: "Anthony Hsu (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-18802) Incorrect results when referencing same Accumulo table multiple times in one query MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Anthony Hsu created HIVE-18802: ---------------------------------- Summary: Incorrect results when referencing same Accumulo tabl= e multiple times in one query Key: HIVE-18802 URL: https://issues.apache.org/jira/browse/HIVE-18802 Project: Hive Issue Type: Bug Affects Versions: 3.0.0 Reporter: Anthony Hsu While investigating=C2=A0HIVE-18695, I noticed incorrect results returned b= y the following Accumulo query: {code:java} DROP TABLE accumulo_test; CREATE TABLE accumulo_test(key int, value int) STORED BY 'org.apache.hadoop.hive.accumulo.AccumuloStorageHandler' WITH SERDEPROPERTIES ("accumulo.columns.mapping" =3D ":rowID,cf:string") TBLPROPERTIES ("accumulo.table.name" =3D "accumulo_table_0"); INSERT OVERWRITE TABLE accumulo_test VALUES (0,0), (1,1), (2,2), (3,3); SELECT * from accumulo_test where key =3D=3D 1 union all select * from accu= mulo_test where key =3D=3D 2;{code} The expected output is {code:java} 1 1 2 2{code} but the actual output is {code:java} 1 0 1 1 1 2 1 3 2 0 2 1 2 2 2 3 {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)