Hari Sankar Sivarama Subramaniyan created HIVE-11478:
--------------------------------------------------------
Summary: 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)