You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hari Sankar Sivarama Subramaniyan (JIRA)" <ji...@apache.org> on 2015/08/06 01:13:04 UTC

[jira] [Commented] (HIVE-11478) StatsUtils::getWritableSize does not treat non-primitive data types correctly

    [ https://issues.apache.org/jira/browse/HIVE-11478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659157#comment-14659157 ] 

Hari Sankar Sivarama Subramaniyan commented on HIVE-11478:
----------------------------------------------------------

[~prasanth_j] [~hagleitn] fyi

> StatsUtils::getWritableSize does not treat non-primitive data types correctly
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-11478
>                 URL: https://issues.apache.org/jira/browse/HIVE-11478
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>
> A simple example would be when you have nested data types. For example, Constant Map<Constant Array<>, Constant Object>. Here, we would enter, 
> StatsUtils.getSizeOfMap(), which would in turn execute
> result += getWritableSize(koi, entry.getKey());
> The above call would incorrectly return 0 since the key is a complex data type. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)