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 2265D1089B for ; Fri, 21 Mar 2014 02:15:12 +0000 (UTC) Received: (qmail 55533 invoked by uid 500); 21 Mar 2014 02:15:09 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 55422 invoked by uid 500); 21 Mar 2014 02:15:08 -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 55237 invoked by uid 500); 21 Mar 2014 02:15:03 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 55102 invoked by uid 99); 21 Mar 2014 02:15:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2014 02:15:01 +0000 Date: Fri, 21 Mar 2014 02:15:01 +0000 (UTC) From: "Gunther Hagleitner (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13942676#comment-13942676 ] Gunther Hagleitner commented on HIVE-6714: ------------------------------------------ +1 LGTM > 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-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)