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