Zoltan Haindrich created HIVE-14287:
---------------------------------------
Summary: Explain output: printed nested mapvalues are dependent on
map entry iteration order
Key: HIVE-14287
URL: https://issues.apache.org/jira/browse/HIVE-14287
Project: Hive
Issue Type: Improvement
Reporter: Zoltan Haindrich
Assignee: Zoltan Haindrich
Order of map keys are handled by a {{TreeSet}} in {{ExplainTask#outputMap}},
but for Map values, there is only a {{toString()}} which implicitly iterates
over the map and prints them - in case of a {{HashMap}} this iteration order
may vary between jdk versions - and may cause false positive testfailures
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/ExplainTask.java#L472
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)