[jira] [Updated] (HIVE-14287) Explain output: printed nested mapvalues are dependent on map entry iteration order
[ https://issues.apache.org/jira/browse/HIVE-14287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-14287: Resolution: Fixed Fix Version/s: 2.2.0 Status: Resolved (was: Patch Available) Pushed to master. Thanks, Zoltan! > 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 > Fix For: 2.2.0 > > Attachments: HIVE-14287.1.patch > > > 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)
[jira] [Updated] (HIVE-14287) Explain output: printed nested mapvalues are dependent on map entry iteration order
[ https://issues.apache.org/jira/browse/HIVE-14287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zoltan Haindrich updated HIVE-14287: Status: Patch Available (was: Open) > 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 > Attachments: HIVE-14287.1.patch > > > 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)
[jira] [Updated] (HIVE-14287) Explain output: printed nested mapvalues are dependent on map entry iteration order
[ https://issues.apache.org/jira/browse/HIVE-14287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zoltan Haindrich updated HIVE-14287: Attachment: HIVE-14287.1.patch > 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 > Attachments: HIVE-14287.1.patch > > > 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)