Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E96F18235 for ; Mon, 1 Feb 2016 07:20:50 +0000 (UTC) Received: (qmail 81440 invoked by uid 500); 1 Feb 2016 07:20:40 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 81414 invoked by uid 500); 1 Feb 2016 07:20:40 -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 81405 invoked by uid 99); 1 Feb 2016 07:20:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 07:20:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C0BF92C044E for ; Mon, 1 Feb 2016 07:20:39 +0000 (UTC) Date: Mon, 1 Feb 2016 07:20:39 +0000 (UTC) From: "yangfang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12877) Hive use index for queries will lose some data if the Query file is compressed. 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-12877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yangfang updated HIVE-12877: ---------------------------- Attachment: 19-index_compressed_file.gz index_query_compressed_file_failure.q HIVE-12877.1.patch > Hive use index for queries will lose some data if the Query file is compressed. > ------------------------------------------------------------------------------- > > Key: HIVE-12877 > URL: https://issues.apache.org/jira/browse/HIVE-12877 > Project: Hive > Issue Type: Bug > Components: Indexing > Affects Versions: 1.2.1 > Environment: This problem exists in all Hive versions.no matter what platform > Reporter: yangfang > Attachments: 19-index_compressed_file.gz, HIVE-12877.1.patch, HIVE-12877.patch, index_query_compressed_file_failure.q > > > Hive created the index using the extracted file length when the file is the compressed, > but when to divide the data into pieces in MapReduce,Hive use the file length to compare with the extracted file length,if > If it found that these two lengths are not matched, It filters out the file.So the query will lose some data. > I modified the source code and make hive index can be used when the files is compressed,please test it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)