hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11478) StatsUtils::getWritableSize does not treat non-primitive data types correctly
Date Wed, 05 Aug 2015 23:13:04 GMT

    [ 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)

Mime
View raw message