Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58FB0117D7 for ; Mon, 24 Mar 2014 16:53:22 +0000 (UTC) Received: (qmail 80136 invoked by uid 500); 24 Mar 2014 16:53:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 80028 invoked by uid 500); 24 Mar 2014 16:53:15 -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 78715 invoked by uid 500); 24 Mar 2014 16:53:10 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 78630 invoked by uid 99); 24 Mar 2014 16:53:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 16:53:08 +0000 Date: Mon, 24 Mar 2014 16:53:08 +0000 (UTC) From: "Prasanth J (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6714) Fix getMapSize() of LazyMap 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-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth J updated HIVE-6714: ----------------------------- Attachment: HIVE-6714.2.patch Reuploading again for jenkins. > Fix getMapSize() of LazyMap > --------------------------- > > Key: HIVE-6714 > URL: https://issues.apache.org/jira/browse/HIVE-6714 > Project: Hive > Issue Type: Sub-task > Components: Serializers/Deserializers > Affects Versions: 0.13.0, 0.14.0 > Reporter: Prasanth J > Assignee: Prasanth J > Fix For: 0.13.0, 0.14.0 > > Attachments: HIVE-6714.1.patch, HIVE-6714.2.patch, HIVE-6714.2.patch > > > HIVE-6707 fixed an issue with lazy maps. Lazy maps scans for keys using key separators and maintains a counter for the number of keys i.e; map size. However keys may include duplicates in which returning the number of keys for map size will be wrong as after deserialization the actual map will not have duplicate keys. > This is a subtask of HIVE-6707 to fix the getMapSize() api. -- This message was sent by Atlassian JIRA (v6.2#6252)